Commit Graph

441 Commits

Author SHA1 Message Date
Ryan Tharp 3648f7066f read config/use admin api to get tokens to test moderation with 2019-09-10 04:04:20 +00:00
Ryan Tharp 313a15eaa4 nodefetch? 2019-09-10 04:02:42 +00:00
Ryan Tharp dad50c4c69 add node-fetch 2019-09-10 04:02:24 +00:00
Ryan Tharp 79ac278b85 use submodule to read config and use proxy-admin library 2019-09-10 04:01:52 +00:00
Ryan Tharp 8d69756a83 node/browser wrapper around serverRequest 2019-09-10 03:54:31 +00:00
Ryan Tharp e4cd76dd58 update platform version 2019-09-10 03:50:50 +00:00
Ryan Tharp d1a9d201cf
Merge pull request #1 from loki-project/registration
Registration removal
2019-09-09 19:33:23 -07:00
Ryan Tharp db7391d183 Merge branch 'master' of https://github.com/loki-project/loki-messenger-public-server into registration 2019-09-10 02:31:51 +00:00
Ryan Tharp df81232c41 api_url/admin_url options 2019-09-10 01:20:34 +00:00
Ryan Tharp 565ad55139 set tokens to not expire, implement checkTempStorageForToken properly, getTempTokenList(), fix submit challenge error handling, reorder some functions, new official channels endpoint, remove debug 2019-09-09 23:28:25 +00:00
Ryan Tharp 8e0d7c3be5 additional cleanup 2019-09-09 08:34:00 +00:00
Ryan Tharp ed53234b7a Beaudan said to commit 2019-09-09 05:43:24 +00:00
Ryan Tharp f34245f6e8 add mocha test 2019-09-09 05:42:49 +00:00
Ryan Tharp f55fa7f86c add api.port 2019-09-09 05:36:51 +00:00
Ryan Tharp 24f6a13037 read port from ini, style fixes, comments and modernization 2019-09-09 05:36:18 +00:00
Ryan Tharp 1a7c3272ef style fixes, comments and modernization 2019-09-09 05:35:21 +00:00
Ryan Tharp 21610f53e9 add caminte/mocha, remove cookies/multer 2019-09-09 05:26:57 +00:00
Ryan Tharp 98cd6d56c5
Create README.md 2019-09-02 21:41:23 -07:00
Ryan Tharp 3f30f2b46f submodule platform server 2019-09-03 04:21:19 +00:00
Ryan Tharp 771c8788bb use updated api for cache.deleteMessage 2019-08-29 01:41:24 +00:00
Ryan Tharp f12a96c590 update accessList every 15mins from disk, guard, use correct res parameter, message already deleted returns 410 2019-08-29 01:33:51 +00:00
Ryan Tharp 619d1d1f7c make validUser actually return token as expected 2019-08-27 23:33:29 +00:00
Ryan Tharp d98066d2ac config: globa/whitelist support, global can delete messages, any one can get channel delete logs, user_info endpoint to relay moderation_status 2019-08-27 09:01:46 +00:00
Ryan Tharp ae2fe9fee5 dummy config template 2019-08-27 09:00:38 +00:00
Ryan Tharp d95b5d7a75 add pageParams to req.apiParams for pagination 2019-08-27 09:00:13 +00:00
Ryan Tharp 6dcaeb8d7d add user_info endpoint/handler, sendreponse() to handle prettyPrint 2019-08-27 07:23:55 +00:00
Ryan Tharp cf56bba2e4 token support, prettyPrint support 2019-08-27 07:23:23 +00:00
Ryan Tharp d762dccfd9 add loki-launcher for ini 2019-08-27 07:22:07 +00:00
Ryan Tharp 08c9235cb4 removed unneeded variable 2019-08-27 06:28:28 +00:00
Ryan Tharp c4411adf73 add nconf 2019-08-27 05:57:59 +00:00
Ryan Tharp c41bc128f5 split route/hanlders from webserver/setup, tempDB abstraction, createToken(), confirmToken() update to cache.addUnconstrainedAPIUserToken, generateString() to create token 2019-08-27 05:57:18 +00:00
Ryan Tharp 0c8f925882 split app into dialect and server 2019-08-27 05:53:30 +00:00
Beaudan Campbell-Brown 524cea11d1
Merge pull request #3 from BeaudanBrown/two-step
Switch to libsignal instead of sodium
2019-08-22 16:28:15 +10:00
Beaudan Brown 3ced18e10c Switch to libsignal instead of sodium 2019-08-22 15:34:30 +10:00
Beaudan Campbell-Brown fb326c9a96
Merge pull request #2 from BeaudanBrown/two-step
Move to 2 step auth
2019-08-20 16:48:44 +10:00
Beaudan Brown ae78e58524 Move to 2 step auth 2019-08-20 14:08:28 +10:00
Ryan Tharp 719d999215 implement user/token find/create 2019-08-18 23:48:59 +00:00
Beaudan Brown a8e98efd9e Initial generating token, encrypting and sending to client 2019-08-16 17:12:09 +10:00
Beaudan Brown cee11225be Ignore node_modules 2019-08-12 16:56:27 +10:00
Beaudan Brown 264e71f026 First skeleton for the registration functions 2019-08-12 15:56:27 +10:00
Odilitime 6f0235aecd Initial commit 2018-05-07 04:16:30 +00:00