Commit graph

3075 commits

Author SHA1 Message Date
Henne Vogelsang
f69bb18e79 Remove centos from bootstrap.sh
We don't have a Vagrant setup for centos, why would we need a centos
bootstrap?

Also use the rake taks setup:bootstrap to configure the app so we only
have one place where this is done.
2018-09-12 21:05:39 +02:00
Henne Vogelsang
00670b03f6 Introduce setup rake tasks
Put what has to be done to have a working installation into one place instead
of spreading it to multiple files.
2018-09-12 21:05:39 +02:00
Henne Vogelsang
35c531b111 Make the dotenv file useful by default
Copying this to .env.production used to enable all kinds of things with example
data. Now you can copy it and OSEM will use it's defaults until you explicitely
change them here.
2018-09-12 19:41:37 +02:00
Henne Vogelsang
55818e30de Use the new database.yml example file in CI
12 factor in our CI, what a riot! ;-)
2018-09-12 19:41:37 +02:00
Henne Vogelsang
cae610ecf0 Include all "supported" databases in our bundle
It's not really nice to force people to change Gemfile which is
under SCM control. This also enables us to make the database
adapter configurable.
2018-09-12 19:41:37 +02:00
Henne Vogelsang
1a502417f9 Document the DB variables in dotenv.example 2018-09-12 19:41:37 +02:00
Henne Vogelsang
6f061756ae Make the database.yml example file generic
So it works with environment variables (12 factory baby!). Enables
us to drop all enviroment specific 'special' example files.
2018-09-12 19:41:37 +02:00
Henne Vogelsang
0eb1ef337a Introduces docker-compose to the contribution guide
Introduces a section about the docker-compose development environment.
I have also tried to shorten the guide, by moving some things to the wiki,
so it's not too overwhelming for new contributors.
2018-09-11 00:10:42 +02:00
Henne Vogelsang
8fd3004d7f Introduces openSUSE based docker-compose environment 2018-09-11 00:10:42 +02:00
Henne Vogelsang
824d83411d Drop the alpine based docker-compose environment 2018-09-11 00:10:42 +02:00
Henne Vogelsang
2e91f8512a Refresh haml-lint todo file 2018-09-08 04:29:22 +02:00
Henne Vogelsang
f866974b19 Enable FactoryBot/AttributeDefinedStatically
See https://robots.thoughtbot.com/deprecating-static-attributes-in-factory_bot-4-11
2018-09-08 04:29:22 +02:00
Henne Vogelsang
5fc867a8fc Introduces rubocop-rspec
Also regenerating the config. Most stuff in there didn't really make sense.
Time to go through .rubocop_todo.yml people :-)
2018-09-08 04:29:22 +02:00
Henne Vogelsang
272690fa21 Setup a more recent ruby version
2.5.0 has been released since 8 months now...
2018-09-06 00:43:25 +02:00
Henne Vogelsang
64d8f05bdd Update FactoryBot strings & urls 2018-09-06 00:42:28 +02:00
Henne Vogelsang
0a19418d15 Replace All FactoryGirl Constant References 2018-09-06 00:42:28 +02:00
Henne Vogelsang
82c3372af2 Switch to FactoryBot (including update to 4.11.0)
https://robots.thoughtbot.com/factory_bot
2018-09-06 00:42:28 +02:00
Henne Vogelsang
fb2612ecaf Simplify set_week callbacks
Changes to :week are already ignored py paper_trail. No need to wrap this in a
`without_versioning`. Also drop the reader in `Registration` and the tests. Why
write this into the DB but never read it again? Why test standard
ruby/activerecord stuff.
2018-09-04 21:12:46 +02:00
Henne Vogelsang
f458736a39 Update paper-trail to version 10.0.1 2018-09-04 21:12:46 +02:00
depfu[bot]
ec5413a163 Update rdoc-generator-fivefish to version 0.4.0 2018-09-04 11:34:03 +02:00
depfu[bot]
938d845681 Update whenever to version 0.10.0 2018-09-04 10:52:48 +02:00
depfu[bot]
b640967a22 Update uglifier to version 4.1.18 2018-09-04 10:51:36 +02:00
depfu[bot]
40f649a58c Update timecop to version 0.9.1 2018-09-04 00:08:29 +02:00
depfu[bot]
dedf3692d6 Update skylight to version 2.0.2 2018-09-04 00:01:49 +02:00
depfu[bot]
2df29d41c0 Update omniauth-google-oauth2 to version 0.5.3 2018-09-03 23:24:40 +02:00
depfu[bot]
5b151428f0 Update omniauth-facebook to version 5.0.0 2018-09-03 23:24:11 +02:00
depfu[bot]
6f194ac848 Update mysql2 to version 0.5.2 2018-09-03 23:23:02 +02:00
depfu[bot]
86f5db2497 Update leaflet-rails to version 1.3.1 2018-09-03 22:50:45 +02:00
depfu[bot]
fe79673c66 Update country_select to version 3.1.1 2018-09-03 22:45:12 +02:00
depfu[bot]
627aca18c5 Update chartkick to version 3.0.1 2018-09-03 22:41:54 +02:00
depfu[bot]
a924fcf947 Update axlsx_rails to version 0.5.2 2018-09-03 21:32:19 +02:00
depfu[bot]
ad3230dc65 Update autoprefixer-rails to version 9.1.3 2018-09-03 21:31:31 +02:00
depfu[bot]
5e14ee319e Update acts_as_commentable_with_threading to version 2.0.1 2018-09-03 21:08:56 +02:00
depfu[bot]
2d126800b9 Update webmock to version 3.4.2 2018-09-03 21:07:30 +02:00
depfu[bot]
52eb5b6ee9 Update dotenv-rails to version 2.5.0 2018-09-03 20:37:32 +02:00
dependabot[bot]
c4f9761e39 [Security] Bump ffi from 1.9.18 to 1.9.25
Bumps [ffi](https://github.com/ffi/ffi) from 1.9.18 to 1.9.25. **This update includes security fixes.**
- [Release notes](https://github.com/ffi/ffi/releases)
- [Changelog](https://github.com/ffi/ffi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ffi/ffi/compare/1.9.18...1.9.25)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-03 20:35:03 +02:00
depfu[bot]
9a29d1626f Update byebug to version 10.0.2 2018-09-03 19:53:27 +02:00
depfu[bot]
448eb66fc0 Update unobtrusive_flash to version 3.3.1 2018-08-31 14:23:17 -07:00
dependabot[bot]
222fd58f72 [Security] Bump rubyzip from 1.2.1 to 1.2.2
Bumps [rubyzip](https://github.com/rubyzip/rubyzip) from 1.2.1 to 1.2.2. **This update includes security fixes.**
- [Release notes](https://github.com/rubyzip/rubyzip/releases)
- [Changelog](https://github.com/rubyzip/rubyzip/blob/master/Changelog.md)
- [Commits](https://github.com/rubyzip/rubyzip/compare/v1.2.1...v1.2.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-31 11:18:17 -07:00
James Mason
c32c9962d1 Change quotes style for better DB compatibility
Postgres 10 doesn't like the double-quoted values.
2018-08-30 19:52:20 -07:00
depfu[bot]
34658d2696 Update turbolinks to version 5.2.0 2018-08-30 17:44:24 -07:00
depfu[bot]
fc2450ae75 Update stripe to version 3.25.0 2018-08-30 17:43:53 -07:00
depfu[bot]
70bbb86d66 Update selectize-rails to version 0.12.5 2018-08-30 17:43:12 -07:00
depfu[bot]
490b024349 Update rolify to version 5.2.0 2018-08-30 17:42:10 -07:00
depfu[bot]
dafb72c0ab Update redcarpet to version 3.4.0 2018-08-30 14:49:50 -07:00
depfu[bot]
3c5513b4c0 Update recaptcha to version 4.12.0 2018-08-30 14:49:27 -07:00
depfu[bot]
111458589b Update puma to version 3.12.0 2018-08-30 14:49:05 -07:00
depfu[bot]
aa65c6822c Update omniauth-github to version 1.3.0 2018-08-30 14:48:34 -07:00
depfu[bot]
d8a3765d6c Update omniauth to version 1.8.1 2018-08-30 13:29:01 -07:00
depfu[bot]
c043e09c14 Update mini_magick to version 4.8.0 2018-08-30 13:28:33 -07:00