Sarah Mei
b865c20b2d
Backing out sub-uri changes
2011-01-09 18:29:43 -08:00
Alec Leamas
e09771d9b4
Create a separate webfinger service.
2011-01-09 23:38:36 +01:00
Alec Leamas
e01fb62eeb
Expose and refer to assets on the sub_uri.
...
When using sub-uri, create a symlink in public/ making the assets
available at the sub-uri. Modify environment.rb so that asset paths
refers to this sub-uri path. Closes http://bugs.joindiaspora.com/issues/391
and http://bugs.joindiaspora.com/issues/737 when application mounted
on suburi (i. e., prev patch)
2011-01-09 23:38:03 +01:00
maxwell
081e85f224
Revert "Extended sub-uri support." for now....
...
This reverts commit 9cd08bac67 .
2010-12-20 18:12:12 -08:00
Alec Leamas
9cd08bac67
Extended sub-uri support.
...
Adds new routing in routes.rb based on pod_uri. Assets are handled by a symlink
in public when using sub-uri. Various clean-up, removing thin and socket port
settings from server.sh (these are now taken from pod_uri and socket_port).
Basic functionality when setting a sub_uri like http://example.org/diaspora
now seems OK. Closes .http://joindiaspora.com/issues/737 , and partially
http://joindiaspora.com/issues/391 . Ports are yet to be defined and handled
in this context.
Conflicts:
app/views/layouts/application.html.haml
config/routes.rb
2010-12-21 01:13:15 +01:00
Alec Leamas
02477ed27a
Trying to cope with #722 for the moment.
...
Issue warning if there already is a running redis server, typically
the system server installed with the redis[-server] package.
See http://bugs.joindiaspora.com/issues/722
2010-12-16 12:19:10 +01:00
Alec Leamas
6b00ca238f
Fixing also logfile in redis.conf
...
Not tested on BSD/Darwin, might need polish for these.
2010-12-08 23:26:07 +01:00
MrZYX
9925aba066
Merge branch '676-bsd-sed' of https://github.com/flah00/diaspora into flah00-676-bsd-sed
2010-12-08 19:36:14 +01:00
Alec Leamas
843405116f
Redis.conf: handling read-only install...
2010-12-08 16:05:20 +01:00
Philip Champon
ccbf51fdbe
Issue 676: allow for correct calling of bsd sed
2010-12-08 01:03:55 -05:00
Alec Leamas
23a5db1013
Creates and maintains a local redis.conf.
...
Creates config/redis.conf using mater copy in etc. FTM, disables
daemonizing, which doesn't fit script/server (or upstart/systemd).
2010-12-07 19:06:25 +01:00
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
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
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
Alec Leamas
4d6295a292
Don't daemonize magent.
...
Closes issue http://bugs.joindiaspora.com/issues/532 .
2010-11-13 08:34:12 +01: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
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
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
Alec Leamas
49975d7010
Providing better message if port 3000 is in use, closing ticket 287.
2010-10-13 12:26:52 +02:00
Alec Leamas
8bea8a98b2
Don't use any scratch dir, handle write-protected installation
2010-10-06 05:05:39 +08:00
danielvincent
f1f7ce338f
tar ignores files specified in .gitignore
2010-09-30 13:40:36 -04:00
danielvincent
e145cbab5b
tar the app's source and throw it in the public folder on server boot.
2010-09-29 17:42:56 -04:00
Ethan Bruning
d1c7559c29
Added check to see if Mongod is running
2010-09-18 07:37:35 +08:00
Raphael
511a4487de
Make running the websocket server a little easier
2010-09-17 10:44:15 -07:00