Commit Graph

168 Commits

Author SHA1 Message Date
paolo 178b15315f Slightly better performance 2016-07-19 17:33:27 +02:00
paolo 0eaf360140 Added parameters aktiv and onlinebewerbung to method getByStudiengangStudiensemester of controller Bewerbungstermine 2016-07-19 17:04:44 +02:00
paolo 42dabba56e Merge origin/ci into ci 2016-07-19 16:03:20 +02:00
paolo 8899a162fd Added method getByStudiengangStudiensemester to controller Bewerbungstermine 2016-07-19 16:03:08 +02:00
Stefan Puraner 19e63622d7 fixed typo 2016-07-19 15:57:16 +02:00
paolo 5b1ad70677 Merge origin/ci into ci 2016-07-19 15:32:30 +02:00
paolo e580df583a Added method getStudiengangStudienplan to controller Studiengang 2016-07-19 15:32:14 +02:00
Stefan Puraner 325608ff6f fixed typo in method name 2016-07-19 11:25:52 +02:00
paolo ad1ada800c Added method getDokumentstudiengangByStudiengang_bz to controller Dokumentstudiengang 2016-07-19 10:31:58 +02:00
paolo 2568d8f912 - Removed the parameter "sprache" from controller Message
- Added method escape to class DB_Model
- Changed method sendMessageVorlage of MessageLib to send messages trying
to use the same language of the receiver, and improved message errors
- Added OrganisationseinheitLib to handle a recursive search using in the
organisation tree
- Removed from PhrasesLib the method loadVorlagetext because is already
present in VorlageLib
- Changed method loadVorlagetext of VorlageLib, now it searches the template
using the organisation tree
- Added method getOneLevel to model Organisationseinheit_model to get one
level of the organisation tree
2016-07-15 13:38:09 +02:00
paolo c0bf5a544f Added method postDelReihungstest() to controller Prestudent 2016-07-13 10:13:19 +02:00
Paminger ed6f9fa676 Sprache bei Templatetext 2016-07-13 07:56:19 +02:00
paolo 483d133fc1 Added parameter "sprache" to method postMessageVorlage of controller Message. It's required. 2016-07-12 11:27:58 +02:00
paolo 8fbc64bbff - Try to fix problems with phpC(dis)I
- Changed permissions in dump.sql
2016-07-07 17:15:30 +02:00
Paminger 03d84be366 Vorlagentexte 2016-07-07 09:26:40 +02:00
Stefan Puraner 325e7f49c6 fixed bug when index is missing in post data 2016-07-06 13:31:34 +02:00
Paminger c9e980c74a Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-07-05 19:13:59 +02:00
Paminger 6a609283a4 Seeds and DBTools extension 2016-07-05 19:12:54 +02:00
paolo c85a406ec6 Merge origin/ci into ci 2016-07-05 16:25:24 +02:00
paolo 8e37e85ecc Because the column ort_kurzbz of the table tbl_rt_person is now optional,
the join with the table tbl_ort has been replaced with a left join
2016-07-05 16:24:46 +02:00
Stefan Puraner 1590fad8bb fixed bug 2016-07-05 15:36:00 +02:00
Gerry Raab 0c7df621a5 orgform widget + neues recht 2016-07-05 14:34:50 +02:00
Gerry Raab a6c61d0bc1 phrases stuff 2016-07-05 00:22:53 +02:00
Gerry Raab 23201670b1 Phrasentext delete 2016-07-04 18:25:35 +02:00
paolo 9cce095e9b - Added permissions for table public.tbl_rt_person
- Added method postAddReihungstest to controller Prestudent
- Added method getReihungstestByPersonID to controller Reihungstest
- Fixed tables structure in the migration script 011_reihungstest.php
- Added model RtPerson_model
2016-07-01 10:50:37 +02:00
paolo 341d5cf8da Changed method getGemeinde of controller Gemeinde, now it returns all data
if no parameters are specified. Data are ordered by the field plz.
2016-06-29 16:27:25 +02:00
paolo 7cdac1d047 Added method getByStudiengangStudiensemester to controller Reihungstest 2016-06-29 16:16:14 +02:00
paolo a3210781ea - Added permission system/vorlagestudiengang to dump.sql
- Added method getMessagesByToken to controller Message
- Library MessageLib now load the helper fhc_helper
- Added new method getMessagesByToken to library MessageLib
- Added field relationmessage_id to methods sendMessage and sendMessageVorlage
- Method sendMessageVorlage now checks if the text and the subject for
the template are not empty
- Method sendMessageVorlage now saves the token automatically generated
- Method sendMessageVorlage now return a more comprehensive error message
- Method getMessagesByPerson of Message_model now checks for the right permissions
- Added fields relationmessage_id and person_id in getMessagesByPerson query
- Added method getMessagesByToken to model Message_model
2016-06-29 15:41:40 +02:00
paolo 94ae62ca14 Changed the method postMessage of controller Message, now it works even
without recipients
2016-06-29 10:45:32 +02:00
paolo a68dfa7ba2 Added method postChangeStatus to controller Message 2016-06-28 18:13:20 +02:00
paolo d2e3a346ce Fix: Phrase controller still tries to use the method _getUID 2016-06-28 15:05:02 +02:00
Paminger f3c2630a66 SeedBugFix 2016-06-28 12:53:53 +02:00
Paminger e21b2f6233 Seeds 2016-06-28 12:34:12 +02:00
paolo 5e4090e0ce _validate method of Person controller now checks correctly the parameters, in accordance with the table structure 2016-06-27 14:58:46 +02:00
paolo 9a4f5480c4 - Added permission basis/phrase to dump.sql
- The function getAuthUID() present in the helper fhcauth_helper.php
now tries to work always with CI session to get the uid
- REST_controller doesn't need anymore to handle the uid
- FHC_Controller and FHC_Model load fhcauth_helper in their constructor,
so any class that extends them now could call the function getAuthUID()
anywhere in the code
- The controllers don't need anymore to pass the uid to the models or to the
libraries
- Library FHC_DB_ACL load fhcauth_helper in its constructor and uses getAuthID()
2016-06-24 13:22:27 +02:00
paolo 58a6da42ae The method loadWhole has been removed from model DB_Model.
The same functionality has given by calling the load method without parameters
2016-06-24 10:39:52 +02:00
paolo 38c98531ed Fix: DBTools $seed_path property is now set in the constructor, APPPATH is not always replaced
Fix: Set the right value of seq_vorlagestudiengang_vorlagestudiengang_id before the insert
2016-06-23 12:29:58 +02:00
paolo 8df43d4b6f Merge origin/ci into ci 2016-06-23 10:34:54 +02:00
paolo 226d1652ef Merge 2016-06-23 10:34:42 +02:00
Paminger 4f14e7fa92 Messages Inbox Outbox 2016-06-23 10:28:26 +02:00
Gerry Raab ab4c8ac373 Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-06-22 17:20:18 +02:00
Gerry Raab c8e4b463b5 new phrase inhalt 2016-06-22 17:19:43 +02:00
paolo f35ede3974 - Added Phrase controller
- Phrase controller has the method getPhrases() to get sentences translated into several languages
- Added method getPhrases to PhrasesLib
- Modified the PhrasesLib constructor to pass the uid to the models
- Added method getPhrases to Phrase_model
2016-06-22 14:59:49 +02:00
paolo 95801a2e70 - Fix: Message_model queries does not get body from tbl_msg_message
- Added method getMessagesByUID to Message controller
2016-06-22 10:34:28 +02:00
paolo d425653d86 Modified _validate method of Message controller, now it returns a standard
error or success message
2016-06-22 09:35:36 +02:00
Paminger 49ebc3945b Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-06-22 08:11:59 +02:00
Paminger 70e83b6e18 Messages 2016-06-22 08:11:04 +02:00
root 25e0ba9407 basic phrases editing 2016-06-22 01:24:59 +02:00
root e2744500a6 Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci
Conflicts:
	application/core/FHC_Controller.php
2016-06-21 16:31:06 +02:00
root ca83b2f59d phrases system 2016-06-21 16:25:55 +02:00