Commit Graph

1788 Commits

Author SHA1 Message Date
Girish Ramakrishnan f1671697bb Add userdb tests 2014-11-24 08:26:17 -08:00
Girish Ramakrishnan 639d5fd1ad userInfo is not sent as part of activation anymore 2014-11-23 22:59:41 -08:00
Girish Ramakrishnan 0a98ba5159 Fix circular dep 2014-11-23 22:57:58 -08:00
Girish Ramakrishnan bf191d56af Make Server code function based
Use the class based pattern only if we expect multiple instances
2014-11-23 22:45:01 -08:00
Girish Ramakrishnan 4844f7899c createadmin -> cloudron/activate 2014-11-23 22:06:08 -08:00
Girish Ramakrishnan 0eea3f0e57 Use routes.user.verifyPassword to verify password 2014-11-23 21:39:10 -08:00
Girish Ramakrishnan 04c57ee196 Better error handling 2014-11-23 21:35:57 -08:00
Girish Ramakrishnan 51a80a5c36 Add userdb.adminCount 2014-11-23 19:57:56 -08:00
Girish Ramakrishnan c1ad249eea Merge firsttime and version routes into status 2014-11-23 19:42:33 -08:00
Girish Ramakrishnan aec65fadd8 Move version into cloudron routes 2014-11-23 19:11:40 -08:00
Girish Ramakrishnan c17e063025 namespace apis under cloudron/ 2014-11-23 18:50:24 -08:00
Girish Ramakrishnan aaf143736a Add a FIXME 2014-11-23 18:43:46 -08:00
Girish Ramakrishnan 8d9f57e0b1 Fix url (plural) 2014-11-23 18:37:26 -08:00
Girish Ramakrishnan 3df66f2b2e Use plural in routes 2014-11-23 18:32:41 -08:00
Girish Ramakrishnan 8546387aee Remove distracting comments 2014-11-23 18:15:24 -08:00
Girish Ramakrishnan 8b98e7102d Initialize auth module in start 2014-11-23 18:10:13 -08:00
Girish Ramakrishnan 0ef7b3ebf6 Make the uninitialize funcs async 2014-11-23 14:23:17 -08:00
Girish Ramakrishnan 9a1013896c Make initialize async 2014-11-23 14:15:29 -08:00
Girish Ramakrishnan 959ae1882a Remove existing containers and restore them
This is required should an update change the nginx config or docker
launch config
2014-11-23 13:22:44 -08:00
Girish Ramakrishnan b53db12cc8 Set X-Cloudron-Proxy-Port only for oauth proxy case 2014-11-23 12:40:16 -08:00
Girish Ramakrishnan 4bdbfeff00 Remove unused variables 2014-11-23 12:24:22 -08:00
Girish Ramakrishnan 497766082e Rename proxy to applicationProxy
A future patch is going to use the name proxy for something else :-)
2014-11-23 11:47:22 -08:00
Girish Ramakrishnan 214a3e781d Set busy timeout on main connection as well
cool fact: In sqlite, every command is actually wrapped with an automatic
transaction.
2014-11-23 09:45:49 -08:00
Girish Ramakrishnan 238606aff8 Add code to debug transaction timings 2014-11-23 09:28:54 -08:00
Girish Ramakrishnan 82f462b0cf Rename newTransaction to beginTransaction 2014-11-23 08:58:46 -08:00
Girish Ramakrishnan 4c7a6c6ad6 Update and upgrade both return 202 2014-11-23 01:04:13 -08:00
Girish Ramakrishnan c5af7a53d5 Update supererror version 2014-11-23 00:57:24 -08:00
Girish Ramakrishnan 62335b35cc Keep trying forever until we get the versions file 2014-11-23 00:41:26 -08:00
Girish Ramakrishnan 9598ae77d0 Add latest supererror until PR 2 is merged 2014-11-23 00:23:48 -08:00
Girish Ramakrishnan d4c7f5a8f6 Enable splatchError option of supererror 2014-11-23 00:16:00 -08:00
Girish Ramakrishnan 97f6a1a8ea Rename internalError to nestedError 2014-11-23 00:11:46 -08:00
Girish Ramakrishnan 2794be118e Rename restrictAccessTo to accessRestriction
Doing a db migration for a column rename is too complex in sqlite,
so the initial schema itself is modified.
(you have to create a new table and copy things over)
2014-11-22 22:16:42 -08:00
Girish Ramakrishnan 3cf53820ff Update favicon module 2014-11-22 19:18:04 -08:00
Girish Ramakrishnan a965756e53 Fix deprecation
https://github.com/expressjs/body-parser/blob/3f1b02247702c2966d33ee73610a98d54cf32fe8/lib/types/urlencoded.js#L41-L44
2014-11-22 19:16:34 -08:00
Girish Ramakrishnan bbbdc68a95 Update to latest connect-lastmile 2014-11-22 19:13:21 -08:00
Girish Ramakrishnan e6301af1d5 More module updates 2014-11-22 18:45:59 -08:00
Girish Ramakrishnan 633a20f225 Update packages 2014-11-22 18:40:21 -08:00
Girish Ramakrishnan 0c85fbb453 Output connect-lastmile logs as well 2014-11-22 17:32:58 -08:00
Girish Ramakrishnan 723f6d73ce Use connect-lastmile for express last mile response handling 2014-11-22 17:29:34 -08:00
Girish Ramakrishnan ca6664d619 Use Http* classes to respond to requests 2014-11-22 17:26:24 -08:00
Girish Ramakrishnan f0c5f064fd Add express handlers to middlewares 2014-11-22 17:20:22 -08:00
Girish Ramakrishnan 755146fcc4 Delete any cookie before forwarding to graphite 2014-11-22 17:06:31 -08:00
Girish Ramakrishnan 49ea1c20cb Move graphite proxy to separate routes file 2014-11-22 16:52:02 -08:00
Girish Ramakrishnan ae45f1616a Add a FIXME to remove unauth graphite calls before release 2014-11-22 11:15:06 -08:00
Girish Ramakrishnan 9655943cf6 util.format is our friend 2014-11-22 10:34:07 -08:00
Girish Ramakrishnan c63cf55dba Output the response body 2014-11-22 10:29:13 -08:00
Girish Ramakrishnan b67a87fd16 Fix call to missing callback 2014-11-22 10:26:16 -08:00
Girish Ramakrishnan d9725be93c supervisor config has moved 2014-11-22 10:15:11 -08:00
Girish Ramakrishnan ba18a53357 Remove unused delay 2014-11-22 00:28:39 -08:00
Girish Ramakrishnan 94ca4c2402 Remove dead reference to installer 2014-11-22 00:05:45 -08:00