Commit graph

289 commits

Author SHA1 Message Date
Praveen Arimbrathodiyil
2613896cfd fix for #5862, check for compiled assets 2015-04-15 15:39:19 +02:00
Jonne Haß
50a3f03bfc Rails is a module 2014-12-04 14:52:14 +01:00
Jonne Haß
a580171e32 Replace spork with spring, update & use binstubs
Spring is the recommended application preloader for rails
2014-12-01 08:06:07 +01:00
Lukas Matt
0308b70287 Print a warning unless they use a proxy
If you try to connect from a secure connection
to a insecure connection; Most modern browser
block the request and flag it as mixed-content.
2014-11-13 11:41:13 +01:00
Lukas Matt
9f827b9309 Start vines if chat and server is enabled 2014-11-13 11:38:34 +01:00
Lukas Matt
095608827e Add vines as foreman task 2014-11-13 11:36:55 +01:00
Jonne Haß
baacefbd92 look for hashed version of default.css in script/server
fixes #5254
2014-09-28 16:37:29 +02:00
Jonne Haß
acc8691487 drop useless require from script/get_config.rb [ci skip] 2014-08-25 02:48:29 +02:00
Bigard Florian
2458568349 Fix typo 2014-06-20 11:17:54 +02:00
Jonne Haß
a9b29a5881 Merge pull request #4885 from jaywink/curl-warning
Add warning to script/server if curl does not support AsyncDNS
2014-04-13 13:14:36 +02:00
Jonne Haß
549c45e06f No need anymore to update bundler on travis 2014-03-31 00:02:22 +02:00
Jason Robinson
3fd938f7e7 Add warning to script/server if curl does not support AsyncDNS 2014-03-30 22:55:13 +03:00
Jonne Haß
1b70f6fe09 Replace .rvmrc by .ruby-version
Also relax the requirement. The .ruby-version represents
merely a recomendation for the Ruby version. The incompability
issues in the Ruby world are far less currently, than they were
when we introduced strict version enforcement. Thus strict
enforcement is no longer appropiate. Same holds for RubyGems.

This implicity also removes the recomendation on using RVM.
The .ruby-version file is supported by all major Ruby version
managers. Gemsets are no longer a needed feature since Bundler
handles multiple concurrrently installed Gems just well.
2014-03-24 15:33:29 +01:00
Jonne Haß
6949292995 bump recommended rubygems version 2014-01-18 13:11:02 +01:00
Jonne Haß
4dcc712ea1 bump recommended ruby version to 2.0.0 2013-12-21 09:28:03 +01:00
Fabian Rodriguez
c339090f6e Merge branch 'release/0.2.0.1' into develop
Conflicts:
	Changelog.md
	config/defaults.yml
2013-12-05 09:11:41 -02:00
Fabian Rodriguez
90b0cc51a0 bump recommended Ruby version 1.9.3-p484 2013-12-04 21:04:25 -02:00
Jonne Haß
58e8df4455 Remove automatic setting of the DB variable from script/server
* It's broken for those that would benefit from it (postgres users)
* It's broken in the design: Reading it from the config requires bundle exec ruby, which requires it being set properly
2013-09-01 19:08:44 +02:00
Jonne Haß
b51f48dc88 Travis RVM doesn't know it yet
Revert "bump recommended rubygems version"

This reverts commit e9526ee93f.
2013-08-28 01:37:43 +02:00
Jonne Haß
e9526ee93f bump recommended rubygems version 2013-08-27 23:01:51 +02:00
Jonne Haß
e7954132aa bump recommended Ruby version to 1.9.3-p448
See http://www.ruby-lang.org/en/news/2013/06/27/hostname-check-bypassing-vulnerability-in-openssl-client-cve-2013-4073/
2013-06-27 17:15:56 +02:00
Jonne Haß
221c1bf959 update all wiki links 2013-06-17 20:00:48 +02:00
Jonne Haß
5760f177ea fix stupid heredoc usage in script/server 2013-06-02 20:25:10 +02:00
Jonne Haß
63b667bbef gracefully handle unavailable git in script/server 2013-05-20 18:14:33 +02:00
Jonne Haß
fdf52ffe9e bump recommended ruby version to 1.9.3-p429 2013-05-17 10:19:20 +02:00
Florian Staudacher
4005cd05ea refactor install script
the script is now split up in parts that will be fetched from github
on demand.
fixes #4047
2013-05-01 14:01:11 +02:00
Florian Staudacher
6bcac2a7ad Merge pull request #4117 from MrZYX/script_server
Refactor script/server
2013-04-21 07:25:33 -07:00
Jonne Haß
95cef200bd do slightly less metaprogramming in script/get_config.rb 2013-04-20 17:38:42 +02:00
Jonne Haß
aca134d54a Refactor script/server
* Made style consistent
* Add helper functions to print messages
* Abort script if critical command fails
* Made number of started Sidekiq workers configurable again
2013-04-15 17:03:41 +02:00
Dennis Schubert
f3b7d57b3a Merge pull request #3993 from MrZYX/sidekiq
Sidekiq (+ some cleanup)
2013-04-03 15:19:15 -07:00
Alexander Wenzowski
5b0d33ade0 ensure v2 release of rubygems 2013-04-01 22:17:25 -04:00
Jonne Haß
79a79d65d6 Bye Resque. Ohai Sidekiq.
* Dropped all references to Resque
* Moved all jobs under app/workers since that's the Sidekiq convention
* Renamed Jobs module to Worker to match new location
* Adapted all jobs to Sidekiq
* Replaced all enqueue calls with perform_async
* Dropped Resque hacks from specs and features, replaced with
  sidekig/testing in RSpec and sidekig/testing/inline in Cucumber
* Updated scripts to start a Sidekiq server
* Inline Sidekiq sinatra app
* Let Sidekiq create the actual Redis instance
* Workaround already initialized constant warnings in service models
* Resolved ToDo in one job definition by creating proper exception clases
  for some errors in receiving posts
* Added sidekiq section to configuration to make it completly
  configurable to the user
* Add Sidekiq middleware for clean backtraces
* Delay HttpMulti retry to give offline pods a chance to come back up
* Do not retry on GUID already taken and alike errors
* Be graceful about deleted posts in GatherOEmbedData
2013-03-21 23:39:07 +01:00
Jonne Haß
5cede18e8d exec foreman in script/server 2013-02-18 21:31:54 +01:00
Jonne Haß
9ffe47aab4 bump recommend ruby to 1.9.3-p385 2013-02-17 13:57:15 +01:00
Jonne Haß
880d440f3b bump recommended ruby and rubygems version to the latest and greatest 2013-02-04 00:40:12 +01:00
Florian Staudacher
b97786661d add clarifying message to install script (+ fix typo) [ci skip] 2013-01-08 10:11:50 +01:00
Jonne Haß
366768eac7 the day I decide to switch to seleniums prerelease 2.27 comes out. great. anyway, still two timeouts, any ideas? anyone? 2012-12-06 18:38:06 +01:00
Jonne Haß
e05edcfda6 Revert "hmm, I hate it if these things work locally..."
This reverts commit 4cebe42375.
2012-12-06 10:45:46 +01:00
Jonne Haß
4cebe42375 hmm, I hate it if these things work locally... 2012-12-06 10:45:12 +01:00
Jonne Haß
d836d1102a let travis find the selenium prerelease 2012-12-06 10:39:31 +01:00
Jonne Haß
2a7a0b7b99 * made number of unicorn worker processes configurable
* made configuration loader indepenent of rails
* corrected mismatch between example and default config (server.db/server.database)
2012-11-30 14:00:25 +01:00
Jonne Haß
b2606bc8c8 givup on installing FF16, just allow cucumber to fail until FF17 is supported 2012-11-24 10:35:07 +01:00
Jonne Haß
23cc8a806a we really need a new selenium release... 2012-11-24 10:26:56 +01:00
Jonne Haß
19ac3bc45c install libnotify4 too 2012-11-23 01:00:21 +01:00
Jonne Haß
0f6aab9593 giving up on apt, just download the right firefox deb 2012-11-23 00:57:24 +01:00
Jonne Haß
3b05490306 maybe that's a correct ff package version 2012-11-22 23:56:31 +01:00
Jonne Haß
1146421f83 maybe ff 16.0.2 is installable? 2012-11-22 23:45:45 +01:00
Jonne Haß
e8a7f40970 attempt to install ff 16 until there's a new selenium release 2012-11-22 23:42:08 +01:00
Jonne Haß
76bd782962 bump recommended ruby version to 1.9.3-p327 since it fixes a potential DoS attack 2012-11-22 20:17:00 +01:00
Jonne Haß
bbad82c5d2 this should restore compatibillity with ruby below 1.9.3-p125, not sure if we should hotfix this, if anyone wants to... 2012-11-22 20:04:19 +01:00
Florian Staudacher
9723c4abc9 don't let the install script run as root user 2012-11-16 15:34:44 +01:00
Florian Staudacher
67548b6afc make install script ouput even smarter 2012-11-10 17:32:15 +01:00
Florian Staudacher
18e755c8a9 installer output system rework 2012-11-04 22:41:01 +01:00
Eitan Adler
9b75f1a83e Remove non-portable bashisms from most of the scripts.
Only install.sh has any bashisms left. However, the bug
which prevented it from running on most systems (using
/bin/bash directly) has been fixed.
2012-11-04 22:41:01 +01:00
Jonne Haß
e75aa111e3 use foremans formation option and not the alias concurrency, start unicorn_rails instead of unicorn 2012-11-04 17:05:16 +01:00
Jonne Haß
f0ef4a764e refactor script/server and associated stuff 2012-10-19 12:25:15 +02:00
Florian Staudacher
a5b97f72a3 forgot one in the text ... always scroll to the bottom [ci skip] 2012-10-06 12:10:29 +02:00
Florian Staudacher
b71e1a08dc adapt install.sh to the new config files,
remove some unnecessary stuff
2012-10-06 12:06:59 +02:00
Florian Staudacher
599d2e9aae minor install script improvements 2012-10-02 22:09:52 +02:00
Jonne Haß
2a4db54db9 New configuration system
* Throw away old system
* Add new system
* Add new example files
* Replace all calls
* add the most important docs
* Add Specs
* rename disable_ssl_requirement to require_ssl
* cloudfiles isn't used/called in our code
* since community_spotlight.list is only used as enable flag replace it with such one and remove all legacy and irelevant codepaths around it
* die if session secret is unset and on heroku
* First basic infrastructure for version information
2012-09-26 20:19:37 +02:00
Jonne Haß
1277cf92b2 refactor ci scripts 2012-09-23 19:00:52 +02:00
Jonne Haß
53c77f7efd drop rename notice about script_server.yml [ci skip] 2012-09-10 14:00:02 +02:00
Florian Staudacher
0c340d8056 don't use extended regexp for sed (not needed) 2012-08-05 13:39:30 +02:00
Samuel Fawaz
7844264571 database configuration does not work when choosing PgSQL 2012-08-03 23:39:03 +02:00
Steven Hancock
a8de3a5a3f Rails.root and File.join cleanup
- `Rails.root` is a `Pathname`, so let's use `Rails.root.join`
- Clean up most of the remaining `File.join`s
2012-06-11 03:13:20 -07:00
N.S.Devaraj
94e5b4dc7b Update master 2012-06-05 11:17:26 +05:30
David Morley
8be3267d00 remove jammit 2012-05-30 10:22:28 -07:00
Florian Staudacher
b5a53c03d7 when using system ruby, we might need sudo [ci skip] 2012-05-20 22:46:07 +02:00
Florian Staudacher
a49fe03bd8 use schema instead of migrations for installer [ci skip] 2012-05-19 18:24:13 +02:00
Florian Staudacher
bdf7dba42e update ruby version, be more verbose while installing, load .rvmrc the hard way 2012-05-16 16:11:04 +02:00
Florian Staudacher
6661f91e1d make sure bundler is installed, be more specific in 'welcome' message [ci skip] 2012-05-14 13:01:49 +02:00
Florian Staudacher
2d810a0c43 missing quotes... [ci skip] 2012-05-11 21:20:56 +02:00
Florian Staudacher
6cf163766a install script now checks for proper rvm/ruby and js runtime [ci skip] 2012-05-11 21:13:15 +02:00
Florian Staudacher
80511d065b don't block stdin when using install script [ci skip] 2012-05-10 17:54:43 +02:00
Florian Staudacher
3ff94b0312 install script improvements [ci skip] 2012-04-25 15:12:04 +02:00
Florian Staudacher
4075791376 install script - break out of non-interactive shell [ci skip] 2012-04-24 14:59:03 +02:00
Florian Staudacher
ec5289bd3b continue working on install script [ci skip] 2012-04-17 02:21:05 +02:00
Florian Staudacher
4e030c3de8 made install script a little smarter, hope u like it ;) 2012-04-14 20:28:39 +02:00
Maxwell Salzberg
fae883df56 comments for what I want this to be 2012-04-13 10:25:52 -07:00
Maxwell Salzberg
e861357463 change some defaults for the test enviroment, make a basic install script in bash 2012-04-13 09:49:03 -07:00
Jonne Haß
8739d618ba reenable pg on travis but let it use a basic database.yml 2012-04-10 21:53:33 +02:00
Florian Staudacher
d7eb4b242f this seems to be in fact a bug in ruby 1.9.2, disabled for now
... when running with 1.9.3 everything's peachy :/
2012-04-06 03:42:37 +02:00
Florian Staudacher
518346deab try setting a higher swappiness, take other val for mem calculation 2012-04-06 01:55:07 +02:00
Florian Staudacher
248e9d9ae7 add more output (swapping), increase swapfile size
MY FIRST COMMIT <3 (it would be so awesome if this would make travis green)
:P
2012-04-06 01:16:37 +02:00
Florian Staudacher
b6a56ca52c create a 64MB swafile on travis 2012-04-06 00:24:08 +02:00
Florian Staudacher
62edcb8c21 css should be delivered by asset pipeline(?) 2012-04-01 13:44:00 +02:00
Jonne Haß
e413a6e70a hopefully get rid of cookiejar error at travis by getting rid of diaspora-clients ruby 1.9 dependencies before bundle install. Not sure why it's only needed if DB=postgres 2012-03-17 13:05:29 +01:00
Jonne Haß
3a149d8cc7 rubygems 1.8.17 should be fine 2012-03-15 15:07:22 +01:00
Maxwell Salzberg
94d2292587 dont install bunlder, travis now has the most recent version 2012-03-14 17:57:06 -07:00
Maxwell Salzberg
a18aa9abf4 to whoever is following along at home. I am sorry. testing travis by pushing is not fun 2012-03-13 19:43:19 -07:00
Maxwell Salzberg
0c11172fb0 bundler ARG :( 2012-03-13 19:38:34 -07:00
Maxwell Salzberg
319812fdcb downgrade bundler :( 2012-03-13 19:34:52 -07:00
Maxwell Salzberg
af6b06ed9b fixes to make travis run? 2012-03-13 19:30:19 -07:00
Maxwell Salzberg
0a75e59c19 remove installing wrong bundler manually 2012-03-09 18:36:14 -08:00
Jonne Haß
5cb8cd789e do not query for socket port in script/server [ci skip] 2012-01-19 22:33:30 +01:00
Jonne Haß
ecc79fb333 bump to rubygems 1.8.15 2012-01-19 14:07:11 +01:00
Jonne Haß
ce0507f9eb move config/ci to script/ci, update rubygems before bundle install 2012-01-19 13:57:47 +01:00
Sarah Mei
dcba59043d Related to #2020 - add note to script/server header telling people to use foreman instead for development 2012-01-12 06:29:29 -08:00
danielgrippi
0e5bb81d66 remove all references to the websocket. bang bang. 2012-01-10 12:28:19 -08:00
Jonne Haß
6859f97145 comment out websocket in script/server 2012-01-04 16:58:01 +01:00