Commit graph

3095 commits

Author SHA1 Message Date
James Mason
f3757fd4e7 Update chart-js-rails to version 0.1.6
Supercedes #2152 with required code changes.
2018-10-10 21:23:28 +02:00
James Mason
aa1c8e6c66 Add depfu badge to README 2018-10-10 10:34:45 +02:00
depfu[bot]
b26b73cb18 Update nokogiri to version 1.8.5 2018-10-06 19:04:35 +02:00
James Mason
6682a6baaa Conservative update of haml-rails 0.5.3 -> 0.8.2 2018-10-01 01:07:01 +02:00
James Mason
3af4dd5aac Move big statistics to a partial 2018-09-27 15:42:08 +02:00
James Mason
1eff57d3ac Add relevant data to scheduling widget 2018-09-27 15:41:06 +02:00
James Mason
21b908ad38 Cache admin schedule event partial 2018-09-27 15:41:06 +02:00
James Mason
111fe83452 Reduce queries required for schedule. 2018-09-27 15:41:06 +02:00
James Mason
a7c853da34 Ignore current sqlite db locations 2018-09-26 19:51:07 -07:00
James Mason
780eb5c51d Fix up logical error in schedule 2018-09-25 22:14:47 +02:00
James Mason
84d60f4f3e Set application timezone in ENV 2018-09-25 22:13:22 +02:00
James Mason
ed6b2d8c93 Default to keeping user's email addresses private. 2018-09-25 22:11:38 +02:00
Henne Vogelsang
d61b4253df Configure MATOMO from the environment
We try to be a 12factor app right? :-)
2018-09-24 10:59:42 -07:00
Henne Vogelsang
f2ad141e32 Switch review apps to postgresql 2018-09-20 11:33:57 -07:00
Henne Vogelsang
f8b7233404 Put database.yml into the code base
It works by default, we have a mechanism to configure it (dotenv.example)
and we want to be a 12factor app, right? Let's do this...
2018-09-20 11:33:57 -07:00
Henne Vogelsang
a0b79c7789 Drop knapsack
It constantly fails with "Mysql2::Error: This connection is in use by...".
Might be because of database cleaner? But until we can get this stable,
rip it out again.

Replaced by a matrix based on test type
2018-09-20 00:56:17 +02:00
Stella Rouzi
da91ff8371 Add email for proposal submission 2018-09-19 21:25:12 +02:00
Henne Vogelsang
dfe0b8188e Disable codecov comments
We are only interested in details if coverage drops
below the threshold, not always.
2018-09-19 14:10:13 +02:00
Henne Vogelsang
1aa1ccbf06 Move sqlite back into development
Heroku does not allow sqlite and will just fail building it.
And it's anyway in no way an option for production.
2018-09-18 21:17:59 +02:00
Henne Vogelsang
042d49619c Docker cleanups
- Put docker-compose.yml into version control, no need to make this an example
  file and complicate things.
- Start the docker dev-env osem on port 3000. Just as our documentation says
  and how we do it in vagrant.
- hardcode CONTAINER_USERID so you don't have to have an
  docker-compose.override.yml if your UID is 1000.
- Rename web service/container to osem for clarity in the logs
- Keep assets also in a volume in production
- warn a bit more prominently about docker-compose.override.yml
2018-09-14 23:28:26 +02:00
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