Paolo
e837101651
PHP8 compatibility: replaced the curly brackets {} with square brackets [] where used in combination with strings
2025-11-19 10:53:59 +01:00
Johann Hoffmann
27c312d7d3
filterPerson unrulyPerson api & person model
2024-09-12 15:42:21 +02:00
Paolo
8ec6265bd5
Fixed windows new lines
2020-03-04 11:17:23 +01:00
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
bison-paolo
1ccc8a8a6f
Enhancement of method _validate of controller Person
2017-01-26 11:32:04 +01:00
bison-paolo
59ab63ace2
Enhancement of method _validate of controller Person
2017-01-25 15:13:57 +01:00
bison-paolo
39b4c8057d
Removed _parseData workaround
2016-10-19 14:49:54 +02:00
bison-paolo
7c1d0bb58a
Controller Person _validate method updated
2016-10-18 10:43:05 +02:00
bison-paolo
a20bf91193
- Added functions isSuccess, isError and hasData in message helper
...
- Updated the code using these new functions
2016-10-14 15:04:15 +02:00
bison-paolo
8e0ca12deb
- All permission functionalities now are in the library PermissionLib
...
- All return messages functions are in the message helper and it is loaded by the core classes
- Added the missing constant FHC_NOPK
- Updated all the interested classes with the new permission method
- Updated all the interested classes with the new return message functions
2016-10-13 17:53:12 +02:00
bison
939ca288fc
- Cleaned the controllers by moving the database related code and more complex logic
...
in the models or libraries
- DmsLib bug fix
- Person_model bug fix
2016-08-31 14:15:39 +02:00
bison
0c912c0122
Bug fix: update person data
2016-08-31 10:39:26 +02:00
bison
46bc8bdb8c
Bug fix
2016-08-30 14:48:08 +02:00
bison
2e3e0efb83
Updating data on tbl_person with the same svnr but with a different person_id will generate the following svnr:
...
<svnr> + "v" + <counter>
2016-08-30 14:22:48 +02:00
bison
3823f7f1d1
Now when inserting a new person with the same svnr, it will be created a new version of the svnr: <svnr> + "v" + <counter>
2016-08-30 13:52:40 +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
c5ee56f23d
Moved _validate method from the model Person_model to the controller Person
2016-06-16 12:18:29 +02:00
paolo
6536ff155c
- Moved the _validate method from the controller Person to the model Person_model
...
- Fixed method _validate
2016-06-15 14:09:01 +02:00
Stefan Puraner
cf272c0e40
added method to parse post data
2016-05-20 17:34:22 +02:00
Stefan Puraner
dfea2bab26
Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci
2016-05-20 16:11:56 +02:00
paolo
6b1968ae5b
Codesniffer compliant: if, for and while
2016-05-20 13:04:25 +02:00
Stefan Puraner
b0c1e50e47
added workaround for parsing data
2016-05-11 11:56:18 +02:00
Stefan Puraner
4d406ea389
Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci
2016-05-10 14:12:54 +02:00
Stefan Puraner
440cac91d6
person model: added method that return list of db columns
2016-05-10 13:46:01 +02:00
paolo
44ebe15c9c
- Method getCheckBewerbung implemented with new standard
...
- Added new permission in fhcomplete.php config file
2016-05-10 13:05:02 +02:00
paolo
53eab958dd
New structure for CI controllers and models
2016-05-04 15:19:11 +02:00
paolo
a3a9c42e99
- Renamed classes, methods and properties names in german
...
- All the controllers exends APIv1_Controller rather than REST_Controller
- Codeceptions modified to be compliant to changes
2016-04-25 15:57:52 +02:00
Paminger
ecff3747d0
Dontknow
2016-04-25 14:25:09 +02:00
paolo
f6f533a23b
API Calls codeception
...
Fixed translations
2016-04-22 14:44:40 +02:00
paolo
346b8c82e1
JSON output improved
2016-04-22 11:08:38 +02:00
paolo
75e3590a09
This is not the best code in the world, it's only a beta version
2016-04-21 17:17:30 +02:00
paolo
78e4c2900b
Merge origin/ci into ci
...
Conflicts:
application/config/rest.php
application/libraries/FHC_Auth.php
tests/codeception/api/LoginCept.php
2016-04-20 17:57:55 +02:00
paolo
aec2e7b5ac
HTTP digest authentication
...
The digest http authentication does not allow to use a password storing
systems, that do not successively allow to retrieve it, even if hashed
2016-04-14 15:24:53 +02:00
Paminger
ae1dc93a14
API-Struktur und CodeSniffer Verbesserungen
2016-04-11 08:11:15 +02:00