Alec Leamas
818ccf92b0
Bugfix (only visible on Ubuntu)
2010-12-06 18:18:49 +01:00
Alec Leamas
4926e185ef
Making jammit tests in server consistent
2010-12-06 15:32:01 +01:00
Alec Leamas
521aa83b0c
Create publiuc/source.tar.gz from current branch.
...
Also, give slow starters some more time.
2010-12-06 15:22:43 +01:00
Alec Leamas
36e6c9f68e
Revert "Fixing server when no git files, not on master"
...
Wrong usecase. The real problem is always using the master branch.
There is no point using a files list, distributions will just
create the tar archive in advance.
This reverts commit 0541082804 .
2010-12-06 14:49:32 +01:00
Alec Leamas
7aa7c29b46
Route redis output to log file,
...
On Fedora, logfile/loglevel in configuration file seems to be ignored
as of now.
2010-12-06 13:38:08 +01:00
Alec Leamas
0541082804
Fixing server when no git files, not on master
...
Allows server to run even if on another branch than master and/or
in a production scenario without git files available.
2010-12-06 13:36:24 +01:00
Philip Champon
47ae57d4dd
Issue #650 : this closes the netstat on mac problem http://bugs.joindiaspora.com/issues/650
2010-12-04 18:52:07 -08:00
Philip Champon
213f1c5e42
fixed bsd netstat issue
2010-12-04 18:52:07 -08:00
danielvincent
b9dbdd09fa
start redis in script/server. removed magent. redis-server does not close on script/server kill
2010-12-03 11:51:04 -08:00
Raphael
8798f05ff7
Revert "Revert redis merge to fix bugs on master"
...
This reverts commit 30698d674b .
2010-12-02 15:33:26 -08:00
Raphael
30698d674b
Revert redis merge to fix bugs on master
2010-12-02 15:20:27 -08:00
Raphael
93da0ddd25
Add magent back in, still need to work out environment problems with resque workers
2010-12-02 13:18:35 -08:00
Raphael
cee5e4c26e
Bring in resque recipes and rake tasks
2010-12-02 12:35:26 -08:00
Raphael
db0106f13c
Rename EMWebfinger to Webfinger, clean up some related things
2010-12-02 12:35:25 -08:00
danielvincent
828635def9
Person#real_name -> Person#name
2010-11-30 13:01:53 -08:00
Alexandre DE DOMMELIN
67d517c24b
Fixing Issue #367 : Start script could expose sensitive information
2010-11-27 23:23:11 +01:00
Alec Leamas
df31de2898
Generate all content in public/ before server starts.
...
Introduces a delay first time the server is started, but makes all resources
available to jammit. Can be disabled by flag in config/server.sh. Hopefully
silences jammit's messages about application.css et. al. not found
2010-11-25 14:22:21 +01:00
Alec Leamas
b6648cb9e2
Handle jammit by precaching in script/server.
...
This introduces some jammit warnings in 'rake spec'. These seem
to be just warnings. To get rid of them, take steps as described in
https://github.com/diaspora/diaspora/wiki/Installing-and-Running-Diaspora
in the "Read-only Installation" (sic!) chapter.
2010-11-20 18:32:40 +01:00
MrZYX
13ca682734
added locales from the rails-i18n project, removed rails-i18n parts from existing locales, added script to update rails-i18n locales
2010-11-18 15:13:30 -08:00
Alec Leamas
4599f700e6
Show error cause in websocket_server, trailing blanks.
...
Related to, but does not solve http://bugs.joindiaspora.com/issues/540 .
2010-11-18 14:51:47 +01:00
danielvincent
b8e04d4888
rescue jammit if java isn't installed on the system. server will continue starting normally if this is the case.
2010-11-17 23:00:40 -08:00
maxwell
31d33054ef
added jammit, now js and css compress for production
2010-11-17 21:51:59 -08:00
zhitomirskiyi
c5ae73f96d
websocket secure params in app_config
2010-11-15 17:45:52 -08:00
Alec Leamas
4d6295a292
Don't daemonize magent.
...
Closes issue http://bugs.joindiaspora.com/issues/532 .
2010-11-13 08:34:12 +01:00
Raphael
64cf82a06b
Websocket server no longer fails hard on a bad cookie or a db reset
2010-11-12 16:21:09 -08:00
Raphael
90474d9acb
Attempt to fix websocket bug, default pidfile location
2010-11-12 14:59:13 -08:00
Raphael
a6c5c08a9f
log to log
2010-11-05 17:55:00 -07:00
maxwell
4154cec28a
made mailer query based on ids, rather than making them serialize ruby objects
2010-11-05 11:46:43 -07:00
maxwell
363f76aed9
removing mail worker
2010-11-05 11:46:43 -07:00
maxwell
fef8ee5de3
adding scripts
2010-11-05 11:46:43 -07:00
zhitomirskiyi
d793bdc3c7
inital commit for mailqueue
2010-11-05 11:46:43 -07:00
Raphael
229e202a72
Take httponly off of session cookies so that the websocket works in firefox 3.x. XSS attacks would now be easier to exploit if found. A possible replacement for opening this security hole is to set a new cookie value for Firefox users that stores a randomly generated key which would give a websocket with that key access.
2010-11-04 15:17:28 -07:00
Raphael
fbbb88109b
Make cookie finding in ws server a little more robust, put in some debugging
2010-11-04 13:34:27 -07:00
Raphael
ae039442c3
Websocket now uses cookie to authenticate
2010-11-02 17:39:50 -07:00
Alec Leamas
03f637eca9
Polishing up after git mess...
2010-10-20 22:05:42 +02:00
Raphael
1bd54aba63
Revert "Merge remote branch 'upstream/master'"
...
This reverts commit 570d0cf104 , reversing
changes made to 9da5399425 .
2010-10-20 09:52:23 -07:00
Raphael
951c513f39
Revert "socket server update: pidfile, ubuntu upstart, bugfixes"
...
This reverts commit c08121e6eb .
2010-10-20 09:52:12 -07:00
Alec Leamas
c08121e6eb
socket server update: pidfile, ubuntu upstart, bugfixes
...
patching websocket_server.rb to provide a pidfile, important
for SystemV init files. Ubuntu upstart configuration. Bugfixes
2010-10-20 14:08:44 +02:00
Alec Leamas
b1423e9e0f
Firts try, nothing tested
2010-10-19 20:04:23 +02:00
Raphael
adb559155a
Revert change from ps ax to pgrep, pgrep isn't on every computer
2010-10-19 10:29:23 -07:00
Alec Leamas
fcd70ce152
Add a configuration file
...
Adds a config file with environment and default thin
options
2010-10-19 08:26:43 +02:00
Alec Leamas
ed8878c72a
Allow script to be invoked from anywhere, or symlink target.
2010-10-19 08:26:43 +02:00
Alec Leamas
bb67b1231b
Test availability of thin and websocket ports before start.
...
Improving cmd line scanning, handling thin options in front of
-p <port>. Also clean up test usage, just use if/then and [].
2010-10-19 08:26:43 +02:00
Alec Leamas
e7efd5fbf7
Compress source.tar
...
Compress source.tar, reducing overall distributed source size with
about 30%. Also, actually push this branch ;)
2010-10-19 08:26:42 +02:00
Raphael
fd88e24a55
Forgot to commit a line
2010-10-13 16:16:22 -07:00
Raphael
51a02409c8
Another try at script server fix
2010-10-13 15:18:40 -07:00
Raphael
9898c8b158
Typo in script/server
2010-10-13 11:07:26 -07:00
Raphael
9e27c802c3
Got port check in bash script working
2010-10-13 10:47:21 -07:00
Raphael
3f9a51fa3f
First attempt at detecting called port with getopts
2010-10-13 10:27:29 -07:00
Alec Leamas
ccdc259838
Comment update
2010-10-13 12:50:29 +02:00