Girish Ramakrishnan
02f195b25c
typo
2019-07-26 15:02:03 -07:00
Girish Ramakrishnan
9b74bb73aa
config.js is dead, long live config.js
...
we use settings now
2019-07-26 14:51:51 -07:00
Girish Ramakrishnan
ee9636b496
move use of TEST and CLOUDRON to constants
2019-07-26 10:13:20 -07:00
Girish Ramakrishnan
c32718b164
Make ldap and docker proxy port as constants
2019-07-25 16:08:54 -07:00
Girish Ramakrishnan
2d260eb0d5
Make sysadminPort a constant
2019-07-25 16:08:51 -07:00
Girish Ramakrishnan
d7dd069ae0
Use constants.version instead of config.version
2019-07-25 15:02:14 -07:00
Johannes Zellner
ac25477cd7
Ensure we prefix all output with a timestamp
...
note that debug() already does this now on its own in the same format
it does not use console.log but process.stderr
2018-11-16 13:02:37 +01:00
Johannes Zellner
9fe91cf9cb
Log if we receive SIGINT or SIGTERM
2018-11-08 14:35:22 +01:00
Girish Ramakrishnan
a49969f2be
Move apphealthmonitor into a cron job
...
This makes sure that it only runs post activation
See also a9c1af50f7
2018-10-22 20:08:49 -07:00
Johannes Zellner
441fdb81f8
Move docker proxy into its own file
2018-08-13 21:14:17 +02:00
Girish Ramakrishnan
b421866bf5
Remove simpleauth
...
Simple Auth used to provide auth over HTTP. The original motivation
behind this was this was a simple way to add Cloudron Auth integration.
Back in the day, Cloudron Auth was a requirement for apps but this is
not the case anymore.
This is currently not used by any app and having this might encourage
people to make Cloudron specific un-upstreamable changes.
2017-03-19 01:31:38 -07:00
Girish Ramakrishnan
3b035405b0
debug.formatArgs API has changed
2017-01-09 16:41:04 -08:00
Girish Ramakrishnan
94037e5266
remove oauth proxy backend logic
2016-11-19 17:13:08 +05:30
Girish Ramakrishnan
15cfbe3f99
Initial version of configure style cloudron-setup script
2016-10-25 00:07:46 -07:00
Girish Ramakrishnan
42181d597b
keep the requires sorted
2015-12-10 13:08:38 -08:00
Girish Ramakrishnan
b56e9ca745
do not log the token
2015-12-10 12:50:54 -08:00
Johannes Zellner
23303363ee
Move simple auth to separate express server
2015-10-11 17:19:39 +02:00
Girish Ramakrishnan
a89726a8c6
Add custom debug.formatArgs to remove timestamp prefix in logs
...
Fixes #490
See also:
https://github.com/visionmedia/debug/issues/216
2015-09-21 09:05:14 -07:00
Girish Ramakrishnan
2719c4240f
Get oauth proxy port from the configs
2015-09-16 10:06:34 -07:00
Girish Ramakrishnan
fbae432b98
merge oauthproxy server into box server
2015-09-14 11:58:28 -07:00
Girish Ramakrishnan
0c9618f19a
Add ldap.stop
2015-09-14 11:01:35 -07:00
Girish Ramakrishnan
1cd9d07d8c
Merge apphealthtask into box server
...
We used to run this as a separate process but no amount of node/v8 tweaking
makes them run as standalone with 50M RSS.
Three solutions were considered for the memory issue:
1. Use systemd timer. apphealthtask needs to run quiet frequently (10 sec)
for the ui to get the app health update immediately after install.
2. Merge into box server (this commit)
3. Increase memory to 80M. This seems to make apphealthtask run as-is.
2015-09-14 10:52:11 -07:00
Girish Ramakrishnan
f028649582
Rename app.js to box.js
2015-09-14 10:43:47 -07:00