Commit Graph

43 Commits

Author SHA1 Message Date
Henne Vogelsang
988b3bf689 Autocorrect new rubocop offenses 2025-08-12 16:44:20 +02:00
Hiroshi SHIBATA
ae98ac1430 Fixed some typos (#2695)
* Fix typos
2020-10-30 11:06:43 +02:00
James Mason
43bef689fc Rubocop autocorrections 2018-11-16 09:06:05 -08:00
Zach Kemp
7d5d935a65 optimize queries 2018-05-09 10:07:08 -07:00
James Mason
6d31dfeef4 Add frozen_string_literal magic comment
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
2018-05-09 06:54:26 -07:00
AEtherC0r3
efaf07178f Upgrade to Rails 5
Update config with rails app:update
Update schema.rb rails db:migrate
Add puma
Make jobs and models inherit from ApplicationJob and ApplicationRecord
Update acts_as_list to 0.9.7 in order to fix
"undefined method `sanitize_sql_hash_for_conditions'" error
Update web-console to 2.3.0 to fix a 500 internal server error
Replace before_filter with before_action
Add rails-controller-testing gem
Add prepend: :true to protect_from_forgery in ApplicationController to
avoid ActionController::InvalidAuthenticityToken exceptions
Remove activeuuid
Update formtastic to 3.1.5 to fix deprecation warnings and issues
with the Input class
Update ahoy_matey to 1.6.0
Update cancancan to 2.0.0 to fix issues with malformed sql queries
Fix program spec
Fix issue with the picture being nil in admin/Organizations#new and #edit
and Organizations#show
Fix ActiveRecord::Base.raise_in_transactional_callbacks= deprecation
warning by removing an unnecessary line in application.rb
Fix failing versions specs
2017-12-11 20:58:04 +02:00
AEtherC0r3
88e1646e87 Fix unreachable code (#1140) in ConferenceRegistrationController#new
Remove the unreachable code from ConferenceRegistrationController#new
Rework the  error message logic in ConferenceRegistrationController#new
Fix redirect to #edit when the user is registered
Refactor ConferenceRegistrationController#new spec and add more tests
2017-03-07 17:40:19 +02:00
gotens1211
ec1adbada8 Removed duplicate methods date_range_string and date_string.
Added tests for date_string function

corrections in the test
2017-03-01 15:39:10 +05:30
gotens1211
4a9c971ec7 Enable Style/SpaceAroundOperators Rubocop
Cleared all the offenses for Style/SpaceAroundOperators

Added a description for the Style/SpaceAroundOperators Rubocop.
2017-02-05 19:43:00 +05:30
richiethomas
daf1f805bd Rename 'ConferenceController' to 'ConferencesController', and 'ProposalController' to 'ProposalsController' 2016-09-30 18:49:44 -04:00
Ana
7e5d20c89d style: if ! changed by unless
- if ! changed by unless as it is more readable
- !object.blank? is equivalent to object.present?, also more readable
2016-08-06 00:57:07 +02:00
Nishanth Vijayan
d152b5eddc Update paper_trail gem to latest 2016-05-18 23:27:18 +05:30
Nishanth Vijayan
434eb90b76 Add flash type error.Rewrite controllers to use common flash style with redirect_to 2016-03-16 09:17:41 +05:30
David Sedeño
a88bb4ea97 If the conference has only one day, not put the day twice in splashpage info. fix #780 2016-02-17 16:02:01 +01:00
Christian Bruckmayer
81a43cc2b6 Raise exception on XSRF fail
Reported by hakiri.io
2016-01-13 10:35:16 +01:00
Henne Vogelsang
132fe6f98c Disable registration/event submission without sign in with ichain 2015-04-23 11:50:22 +02:00
Henne Vogelsang
e8ab94e1c7 Implements sign up during registration. Solves most of #215 2015-03-12 23:53:57 +01:00
Henne Vogelsang
2c98ba9711 Also destroy the ichain session for deisabled users 2014-11-06 17:29:46 +01:00
chrisbr
56cb805110 Adds disabled flag to user and checks it if iChain is enabled 2014-11-06 16:17:11 +01:00
Henne Vogelsang
b95d35d5d9 It's always hard to remove another layer of indirection... 2014-11-06 14:58:51 +01:00
chrisbr
49d565def2 Implements iChain authentication 2014-11-04 17:42:47 +01:00
Stella Rouzi
b7c45718d8 apply StringLiterals cop (remove double quotes, unless there is string interpolation) 2014-09-02 21:45:07 +03:00
Stella Rouzi
ba6643a394 fix sponsor test, fixes from rebase, remove admin area check from application controller, fix admin menu layout 2014-08-14 11:37:30 +03:00
Stella Rouzi
e2fb434dc7 Implement role authorization 2014-08-13 22:53:13 +03:00
Artem Chernikov
4aa1f0bf3a rubocop Style/AndOr style enabled 2014-07-30 23:34:09 +02:00
Henne Vogelsang
c982cbb88a Refactored proposal. Enabled cancancan 2014-07-23 16:24:05 +02:00
Artem Chernikov
5289f41eb5 Use only new hash syntax 2014-07-21 15:05:58 +02:00
Gopesh Tulsyan
c68c6394bc Removed conference_date_string_helper, moved date_string to application_controller
Deleted home_helper.rb
2014-07-10 22:12:11 +05:30
Gopesh Tulsyan
2b94ba0281 Adds routing error check in conference#show
Adds make_conference_public to conference factory

Added test
2014-06-19 22:17:32 +05:30
Chrisbr
ff49443e9a Redirects to admin/index after admin login 2014-05-23 17:05:19 +02:00
Chrisbr
980eb9f6bc Changed not to exclamation mark 2014-05-12 17:22:48 +02:00
Chrisbr
c742e57534 Fix Hound CI violations 2014-05-10 18:02:29 +02:00
Chrisbr
12e6fd9cb5 Bugfix to pass feature test
- check if session[:return_to] is nil
- adds unique html ids for dropdown login fields
2014-05-10 17:52:26 +02:00
Chrisbr
fbda757e70 Replaced find_all_by through find_by
Find_by_all is removed in Rails 4.1
2014-04-27 16:27:29 +02:00
Henne Vogelsang
9d72775c29 Use user_registration_path instead of hardcoded /accounts for deployments into sub-directories... 2014-03-24 13:22:41 +01:00
Henne Vogelsang
18968a05b1 * Update devise to latest version
* use letter_opener for mails in development
* bring back the flash
* fix redirect loop for logging in
* move all mailer/devise settings to config/config.yml
2014-03-24 12:45:47 +01:00
differentreality
9c35395350 redirect to requested page after login 2013-08-25 13:40:44 +03:00
differentreality
d7ae2ba29b Allow title edit for confirmed proposal if organizer or admin and do not allow event type change for confirmed/unconfirmed proposals if schedule_changes is not set, unless it is done by an admin or organizer 2013-07-28 13:03:22 +03:00
Henne Vogelsang
252e1fe544 Completely rework the navigation
Get rid of the admin layout
Get rid of the navbar custom style, use bootstrap-sass variables instead
Get rid of all the scaffold files
2013-06-27 16:58:20 +02:00
Matt Barringer
138106c2fb Handle routes properly when the app is running in a subdirectory 2013-01-20 13:06:01 +01:00
Matt Barringer
b4e1dcbd63 Fix permission verification 2013-01-15 14:08:22 +01:00
Matt Barringer
b801f0dc19 - Restructuring the assets
- Worked on the schedule
- Removed some gems
2013-01-11 15:00:54 +01:00
Matt Barringer
90b30db9e8 First checkin 2013-01-07 09:04:09 +01:00