21 Commits

Author SHA1 Message Date
Paolo 0239246ab0 - Renamed APIv1_Controller to API_Controller
- Adapted code
- Added functionalities to API_Controller to log into the database
2020-02-07 15:11:00 +01:00
Paolo 1fcc878cb5 Added permissions array to every controller that extends APIv1_Controller
CheckUserAuth and Test controllers now extends directly the REST_Controller
2018-03-28 12:09:54 +02:00
Paolo ac438c1b94 Added parameter no_file to API content/Dms/AktenAcceptedDms 2017-06-27 11:32:59 +02:00
bison-paolo 603ccd1793 Added method getAkteAcceptedDms 2016-12-21 17:50:03 +01:00
bison-paolo 39b4c8057d Removed _parseData workaround 2016-10-19 14:49:54 +02:00
bison-paolo 0ae8b4d8fa - Added method postDelDms to controller Dms
- Added method delete to library DmsLib
2016-09-22 13:16:46 +02:00
bison 66de5536ac Moved logic from Dms controller to DmsLib 2016-08-29 13:28:00 +02:00
bison 59b5d76e44 - Fixed logic in method postDms of controller Dms, now is it possibile to
insert a new version for a dms
- Fix method getMessagesByPerson of model Message_model, now is not showing messages with status 3
2016-08-25 13:18:11 +02:00
bison 60681d5402 Added parameter "new" in method postDms of Dms controller 2016-08-19 10:06:36 +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 5a5a22e0d5 - Removed body tag from footer.php and header.php
- Added permission fs/dms to dump.sql and fhcomplete.php
- Added FilesystemLib to read and write from/in filesystem
- Added FS_Model to manage filesystem with the same permission system of DB_Model
- Added more models to handle the Dms
- Modified Dms controller to use the new models
2016-06-21 11:10:55 +02:00
paolo 28751df237 Merge origin/ci into ci 2016-06-15 11:23:03 +02:00
paolo 8d109cf170 DMS bugfix: if no version is submitted 2016-06-15 11:22:45 +02:00
Stefan Puraner 86a98e9a8c added parse data method 2016-06-15 10:38:19 +02:00
Stefan Puraner 2aa8cff74d added parse data method to model 2016-06-15 08:10:15 +02:00
paolo d237915e80 - Added file read/write from/to file system functionality in Dms 2016-06-08 17:52:14 +02:00
paolo c6efbac308 - Added permission "basis/dms_version" for table campus.tbl_dms_version
- Added dms functionalities to relative controller and model
2016-05-23 15:34:59 +02:00
paolo 6b1968ae5b Codesniffer compliant: if, for and while 2016-05-20 13:04:25 +02:00
paolo 32acc8a414 Fixed controllers parameters names and number 2016-05-19 15:51:15 +02:00
paolo 5d7d79b086 - Renamed every controller that has conflicts with class name
- Added routes to renamed controllers
 - Fixed controllers parameters in get method
2016-05-18 11:24:10 +02:00
paolo de9e92e3b0 - Added permissions for every DB tables that has a model
- Added all controllers for every model
- All controller has a load and a insert/update method
2016-05-13 19:00:40 +02:00