Commit Graph

2053 Commits

Author SHA1 Message Date
Karina Kwiatek 864d5844dc Add Announcement tests 2020-04-19 22:38:01 +01:00
Andreas Nedbal 0c3dee30ae Add row to notification list 2020-04-19 23:34:09 +02:00
Andreas Nedbal b5a833e917 Remove superfluous card-default class 2020-04-19 23:31:24 +02:00
Georg Gadinger 477ec3e9c9 Do not allow creation of groups with empty names 2020-04-19 23:28:50 +02:00
Karina Kwiatek 4889071f95 Add JS for dismissing announcements 2020-04-19 22:27:50 +01:00
Andreas Nedbal 21fceccf2f Adjust modal layouts to Bootstrap 4 2020-04-19 23:26:29 +02:00
Andreas Nedbal efd2ff4db0 Convert visibility classes to Bootstrap 4 2020-04-19 23:14:05 +02:00
Andreas Nedbal fa14859a6a Adjust dropdowns to Bootstrap 4 layout 2020-04-19 23:13:39 +02:00
Andreas Nedbal 213eb1d11f Add row classes to fix grid layouts 2020-04-19 23:12:23 +02:00
Andreas Nedbal 33cd5b57a3 Convert panel classes to card classes 2020-04-19 23:11:14 +02:00
Andreas Nedbal 2b39888679 Adjust base navigations Bootstrap 4 2020-04-19 23:03:34 +02:00
Karina Kwiatek 80c6a4272a Fix indentation in new.html.haml 2020-04-19 21:58:08 +01:00
Karina Kwiatek e731d76d52 Update admin/announcements routes to use has_role? 2020-04-19 21:54:40 +01:00
Karina Kwiatek 391f4a28ed Merge branch 'master' into feature/announcements
# Conflicts:
#	db/schema.rb
2020-04-19 21:52:58 +01:00
Georg Gadinger da25be15b1
Merge pull request #67 from Retrospring/use-real-roles
Use Rolify for admin and moderator roles
2020-04-19 22:50:44 +02:00
Karina Kwiatek a505e7ee71 Ensure we're logged in as an admin when using the AnnouncementController 2020-04-19 21:45:07 +01:00
Karina Kwiatek b6d6c1fded Add announcements to the top of the application template 2020-04-19 21:38:21 +01:00
Georg Gadinger 946bb3ae9d Use Rolify for admin and moderator roles 2020-04-19 22:35:58 +02:00
Georg Gadinger a0c9641994 Remove useless specs 2020-04-19 22:31:43 +02:00
Karina Kwiatek 473f2cdcc5 Show announcement validation errors on the frontend 2020-04-19 21:26:55 +01:00
Karina Kwiatek 2ecc746e23 Implement validation for announcements 2020-04-19 21:11:22 +01:00
Karina Kwiatek 6187cb0b6c Add the ability to edit announcements 2020-04-19 20:58:57 +01:00
Karina Kwiatek f14a168bce Implement deletion of announcements 2020-04-19 20:50:33 +01:00
Karina Kwiatek e3b89f7346 Implement creation of announcements 2020-04-19 20:34:48 +01:00
Karina Kwiatek 8a632a09cd Create Announcement model & controller 2020-04-19 20:12:22 +01:00
Andreas Nedbal 7f74e844f5 Replace Bootstrap 3 with Bootstrap 4 2020-04-19 21:08:58 +02:00
Andreas Nedbal b47c0deb48 Add cache volume for Rails caches 2020-04-19 21:08:17 +02:00
Georg Gadinger 34604ae06f Remove Travis config 2020-04-19 19:56:01 +02:00
Andreas Nedbal 0a32216128 Merge branch 'prepare-for-gh' into 'master'
Prepare for GitHub

See merge request nilsding/retrospring!76
2020-04-19 17:53:05 +00:00
Georg Gadinger 79f45ee20e Surprise! 2020-04-19 19:49:53 +02:00
Georg Gadinger 6999695ff8 Cleanup 2020-04-19 19:49:47 +02:00
Georg Gadinger 2237287472 Remove Capistrano 2020-04-19 19:43:55 +02:00
Georg Gadinger 8b129bbbf4 Fix moderation panel. 2020-04-19 18:33:20 +02:00
Jyrki 3989b71944 Merge branch 'feature/migrations' into 'master'
Append used Rails version to ActiveRecord::Migration

See merge request nilsding/retrospring!75
2020-04-19 16:13:17 +00:00
Andreas Nedbal e1f775d955 append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
Andreas Nedbal eee7493c91 Merge branch 'gemfile-cleanups' into 'master'
Gemfile cleanups

See merge request nilsding/retrospring!74
2020-04-19 16:06:09 +00:00
Georg Gadinger 03653fe2a5 Update paperclip 2020-04-19 17:50:14 +02:00
Georg Gadinger 76180a4498 Update spring and web-console 2020-04-19 17:41:03 +02:00
Georg Gadinger 9a2ee1a575 Use a tumblr_client version without faraday version restriction 2020-04-19 17:40:41 +02:00
Georg Gadinger 2d3e55a7c4 Replace FactoryGirl with FactoryBot 2020-04-19 17:27:42 +02:00
Georg Gadinger 3b4dc9961e Move rails-assets gems to own source block 2020-04-19 17:22:48 +02:00
Georg Gadinger 311c7ac6c0 Remove Rollbar 2020-04-19 17:20:07 +02:00
Georg Gadinger d6ca1781c0 Replace fog with fog-core and fog-local 2020-04-19 17:13:49 +02:00
Andreas Nedbal 7a0a009352 Merge branch 'remove-emoji' into 'master'
Remove twemoji

See merge request nilsding/retrospring!73
2020-04-19 15:06:00 +00:00
Georg Gadinger d680185b0b Remove twemoji 2020-04-19 17:03:53 +02:00
Georg Gadinger 5eb61eb418 Use sendmail in production 2020-04-19 15:34:45 +02:00
Jyrki 9c1dc491a4 Merge branch 'rails5' into 'update-ruby'
Rails 5.0 🎉

See merge request nilsding/retrospring!70
2020-04-19 13:09:38 +00:00
Georg Gadinger b7d1c80ff0 remove rollbar queue, use mailers queue for mail stuff 2020-04-19 15:00:50 +02:00
Georg Gadinger 958fa30f6b Use Ruby 2.7.1 2020-04-19 15:00:12 +02:00
Georg Gadinger 76f4ec35e2 get rid of "Fixnum is deprecated" warning 2020-04-19 14:39:59 +02:00