Commit Graph

382 Commits

Author SHA1 Message Date
xdrm-brackets 44a9fd812b added the AP (access point) and IP address to machine database structure 2017-07-21 15:35:07 +02:00
xdrm-brackets 5ade18a373 [phpunit] user/create/params tests 2017-05-13 11:21:41 +02:00
xdrm-brackets 8095264a09 minmod 2017-05-12 23:57:45 +02:00
xdrm-brackets 8aafcbfdcf [phpunit::update] api first tests 2017-05-12 23:52:21 +02:00
xdrm-brackets 402f7c7f06 Remove HttpRequest from constructor but only for remote(), so not an argument anymore 2017-05-12 23:50:41 +02:00
xdrm-brackets e8becc2fae merge 2017-05-12 22:43:19 +02:00
xdrm-brackets 509a95b3cc fix 2017-05-12 22:41:57 +02:00
xdrm-brackets bcc35f32dc Phpunit 1 2017-05-12 22:40:51 +02:00
xdrm-brackets 7182be076c added grumphp/phpunit and grumphp/jsonlint 2017-05-12 17:26:12 +02:00
xdrm-brackets 26f8036be3 Added grumphp/phpunit 2017-05-12 17:21:47 +02:00
xdrm-brackets 6387fcbfd6 Added grumphp/phpunit 2017-05-12 17:18:37 +02:00
xdrm-brackets 496f84faf7 update composer + added grumphp with phplint to / 2017-05-12 17:15:05 +02:00
xdrm-brackets e589892985 [update] Renamed `init` to `sync` and `sync` to `update` 2017-05-10 14:05:24 +02:00
xdrm-brackets 96e29ad901 Added SQL data 2017-05-10 09:58:57 +02:00
xdrm-brackets 6785f014ac Merge branch 'feature/SATS/states' into dev 2017-02-23 17:45:06 +01:00
xdrm-brackets 44347d46cc [Fixed] getMachineWorkingInformation() was implemented with 'static' machine id -> now dynamic 2017-02-23 16:21:58 +01:00
xdrm-brackets 9606245a92 [Done] updated 'detached' state to transparent 2017-02-22 13:41:14 +01:00
xdrm-brackets 74bd22d1b9 bugfix 2017-02-21 16:07:44 +01:00
xdrm-brackets 91c64751ca Fixed `AuthSystemDefault` through repo `machine/checkToken` to return MACHINE ID (as for WAREHOUSE/ADMIN session data) + fixed code 2017-02-21 15:55:40 +01:00
xdrm-brackets b170c98187 [Upgrade] New api/core/Request Authentication management (possibility to combine permissions ('or' and 'and' behaviour)) 2017-02-21 15:39:28 +01:00
xdrm-brackets 5f9d91f0f0 [Upgrade] Ajout de la permission 'sats' : header(Authorization) = Digest {WAREHOUSE_TOKEN}{SATS_TOKEN}{SATS_NEXTTOKEN} 2017-02-21 15:16:21 +01:00
xdrm-brackets 4227ebedc9 bugfix 2017-02-21 10:29:06 +01:00
xdrm-brackets ce92299fea minmod 2017-02-21 09:28:36 +01:00
xdrm-brackets d4c06aa1b7 minfix 2017-02-20 13:58:59 +01:00
xdrm-brackets f6b09695d8 [Update] Factored `machineDefault/init` content to fetch basic working information (idem in `machineDefault/sync`) 2017-02-20 13:42:29 +01:00
xdrm-brackets 85e826a8a1 [Done] Managed anti-duplication name pour `machineDefault/create` et `machineDefault/edit` (interne à warehouse) 2017-02-20 12:07:44 +01:00
xdrm-brackets dd2e94d979 [Fixed] Auto-input pour code de view:users/edit[Done] Managed anti-duplication username|code pour `userDefault/create` et `userDefault/edit` (interne à warehouse) 2017-02-20 11:59:44 +01:00
xdrm-brackets 203f1c9d59 [Done] `machineDefault/getState` works [FUNCTIONAL] 2017-02-20 10:46:39 +01:00
xdrm-brackets e1a524faee [Fixed] Creation de machine (orm, insert NULL values) 2017-02-20 09:57:26 +01:00
xdrm-brackets 4bacb52f24 Updated machineDefault/getState but [NOT FINISHED] 2017-02-20 08:21:34 +01:00
xdrm-brackets 2073606a29 Merge branch 'dev' into feature/SATS/states 2017-02-19 18:09:27 +01:00
xdrm-brackets 934545aae4 [Update] Manage history order + State `machineDefault/getState`"
[Todo] Test
2017-02-19 18:07:04 +01:00
xdrm-brackets 4e017aeb2f Added vignettes for machine states (back part to do) 2017-02-19 16:31:26 +01:00
xdrm-brackets 055cc62fa7 [Fixed] machineDefault/init & machineDefault/sync ok 2017-02-19 15:46:52 +01:00
xdrm-brackets 6b67e414e6 [Fixed] Logout urls 2017-02-19 12:43:37 +01:00
xdrm-brackets 63ddeca3aa [Done] init|sync works 2017-02-19 12:33:19 +01:00
xdrm-brackets 4c1393417d Updated database to use sha512 (128 char. long) + machine creation with unlock_code/token to NULL + [TODO] machine unlock management 2017-02-19 12:14:03 +01:00
xdrm-brackets c1339a1657 [Fix] module machineDefault/init 2017-02-19 09:16:03 +01:00
xdrm-brackets 11ece5b52f [Done] Dropdown to add groups to view:users/view"
[Done] Dropdown to add groups to view:machines/view
2017-02-18 16:53:35 +01:00
xdrm-brackets 59beb64eea [Fixed] Choice without already members (for view:groups/permission dropdown) 2017-02-18 16:21:15 +01:00
xdrm-brackets 32cc74166b Remove unused files (removed view:groups/permission_choice) 2017-02-18 16:10:59 +01:00
xdrm-brackets 7a224990d4 [Done] Propagate to view:groups/permissions 2017-02-18 16:08:03 +01:00
xdrm-brackets 01cfcaf333 [Done] Propagate to view:users/group[Done] Propagate to view:machines/group[Todo] Propagate to view:groups/permissions 2017-02-18 15:08:13 +01:00
xdrm-brackets 4e42178fec [Upgrade] New system to add members view:groups/view[+button]"
[Todo] Propagate to view:users/group[Todo] Propagate to view:machines/group[Todo] Propagate to view:groups/permissions
2017-02-18 14:42:10 +01:00
xdrm-brackets 56882c1ecc [Fixed] Rearranged username/names fields' types (allow utf-8 + spaces) 2017-02-17 15:13:48 +01:00
xdrm-brackets 1c7419cb67 [Updated] API Checker.php to allow UTF-8 'letters' -> 'lettersutf8' for users' firstname/lastname 2017-02-17 11:59:57 +01:00
xdrm-brackets 929175dea2 [Fixed] now url /logout disconnects from admin if connected and from warehouse if connected. Trouble with new version (management of HTTP methods catched as GET instead of POST) -> PHP method set manually to make it POST 2017-02-17 08:27:34 +01:00
xdrm-brackets 2c45bb60be [Done] Partie dynamique du choix des members pour permissions 2017-02-16 19:04:19 +01:00
xdrm-brackets 2d58da3028 [Done] Static part of the permission chooser view [Todo] The dynamic part (js copied from groups/members) 2017-02-16 18:34:38 +01:00
xdrm-brackets aa105431e2 Fixed AuthSystem with default class name assignation 2017-01-31 10:05:06 +01:00