Commit Graph

14 Commits

Author SHA1 Message Date
xdrm-brackets cf35a8ade4 fix: api.core.Request (now can force a HTTP_METHOD when called inside php (3rd argument)) 2017-11-26 13:48:33 +01:00
xdrm-brackets 6399608ef5 fix: api.core.AuthSystemDefault (re-use stored token in session if session_connected (check again for each api call)) 2017-11-26 13:48:03 +01:00
xdrm-brackets 4aec7e790d upd: api.core.Checker (setup hash to have 128c length) 2017-11-26 13:18:08 +01:00
xdrm-brackets 2c713f48e8 upd: api.core.AuthSystemDefault (implemented authentication by token) 2017-11-26 12:10:10 +01:00
xdrm-brackets 5eeaa1321f add: database.repo.admin (added admin repo as a copy of user for now) 2017-11-26 11:56:45 +01:00
xdrm-brackets 8ccc05e280 upd: database.repo.user (added backquotes around table and column names) 2017-11-26 11:54:49 +01:00
xdrm-brackets c16ef8a961 upd: database.repo.user (added methods: getBy* | checkPassword | setPassword | create) 2017-11-26 11:44:17 +01:00
xdrm-brackets eef40ce771 fix: api.module.RESTexample (removed unset variable) 2017-11-26 11:42:10 +01:00
xdrm-brackets e10382155a upd: database.core.Repo (made it simpler, 2 args instead of an array of 2 strings...) 2017-11-26 11:41:41 +01:00
xdrm-brackets 6cd9baf19c Barebone setup@5 > add: database.{core.Repo,core.Repo_i,repo.user} (Repo dispatcher + user.getAll,getById,getByMail) | dup:config.database-driver done | upd: view.homepage loads a repo (call example) 2017-11-24 16:00:12 +01:00
xdrm-brackets a6cfd218d6 Barebone setup@3 > upd: routes.json (enable VIEW http method) | fix: api.Request 2017-11-23 12:56:07 +01:00
xdrm-brackets cc4fd4427b Barebone setup@2 > fixed: api.core.AuthSystemDefault (removed useless @module management + use Error argument to tell which permission misses) | api.core.Request (removed @module when calling api.core.AuthSystemDefault.permission(@expected)) 2017-11-23 11:53:29 +01:00
xdrm-brackets ab0808d4c5 Barebone setup@1 > fixed: api.core.AuthSystemDefault (manages default main permissions + custom permissions in the array $_SESSION['PERM']) 2017-11-23 11:32:31 +01:00
xdrm-brackets 8371ea89b8 Barebone setup@0 > build: api, router, http, error | 2017-11-23 11:23:09 +01:00