Commit Graph

173 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 e33e6714d7 upd: public.index (set AuthSystemDefault as default AuthSystem for api.core.Request) 2017-11-26 12:07:28 +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 4ebd101e6c tmp: updated public.view.homepage to show repo use 2017-11-26 11:44:58 +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 77483eedfa Added generic favicon to use elsewhere 2017-11-26 11:42:49 +01:00
xdrm-brackets fa2c5e387b add: HTML favicon 2017-11-26 11:42:28 +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 acb879d472 upd: autoloader (added secure_hash function using sha512) 2017-11-26 11:40:59 +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 bd1248b8da Barebone setup@4 > fix: public.js.lib.api.js (XHR garbage collector) 2017-11-23 18:22:47 +01:00
xdrm-brackets 2ff880a571 Barebone setup@4 > add: public.js.lib.api.js (API call interface) | upd: public.view.homepage (added default HTML) | tmp: public.js.action-script (example for API interface use cases) 2017-11-23 17:42:32 +01:00
xdrm-brackets c23ddb0420 tmp: to test REST api with permissions 2017-11-23 12:57:49 +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
xdrm-brackets ce9a978fe3 Initial commit 2017-11-23 00:43:58 -05:00