1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00
phorge-phorge/webroot/rsrc/js/application
epriestley 86040227b0 Improve Aphlict server
Summary:
  - Move to port 22280 by default.
  - Warn when running as non-root.
  - Allow subscription and publish/admin ports to be configured.
  - Allow server to drop root after binding to 843.
  - Allow log path to be configured.
  - Add /status/ admin URI which shows server status.
  - Return HTTP 400 Bad Request for other requests, instead of hanging.
  - Minor formatting cleanup.

Test Plan:
Ran without root:

  $ node aphlict_server.js

...got a good error message. Ran with --user:

  $ sudo node aphlict_server.js --user=epriestley

...verified server dropped permissions. Ran with --port / --admin. Hit /status/ with GET, got status. Hit other URLs with GET, got 400.

Reviewers: allenjohnashton, ddfisher, keebuhm

Reviewed By: ddfisher

CC: aran

Differential Revision: https://secure.phabricator.com/D2737
2012-06-14 06:12:54 -07:00
..
aphlict Improve Aphlict server 2012-06-14 06:12:54 -07:00
core Add a basic notification UI element 2012-06-13 15:00:24 -07:00
countdown Remove usage of JX.defer in favor of setTimeout 2011-08-10 18:09:59 -07:00
differential Let the viewer collapse/expand individual files in a diff. 2012-06-13 16:52:42 -07:00
diffusion Render pretty graphical traces for commit branches, etc 2012-03-23 17:11:15 -07:00
herald Allow users to add flags via Herald rules 2012-03-30 13:51:54 -07:00
maniphest Make Maniphest Transaction preview tokenizer aware 2012-04-14 07:05:58 -07:00
owners Bring Javelin into Phabricator via git submodule, not copy-and-paste 2011-05-08 13:20:10 -07:00
phame Phame V1 - Phabricator blogging software 2012-04-12 13:09:04 -07:00
phortune For discussion -- Stripe integration 2012-04-04 16:09:29 -07:00
phriction Add a document preview to Phriction 2011-07-16 18:48:27 -07:00
projects Remove "Former" project members 2011-12-16 17:46:02 -08:00
repository Use textContent instead of innerHTML for linking symbols 2012-06-13 14:45:45 -07:00
uiexample Add a basic notification UI element 2012-06-13 15:00:24 -07:00