Ana María Martínez Gómez
b3716985f0
Stop using reload argument in associations
...
Deprecated force reload argument in association readers is deprecated
and has been removed in Rails 5.1:
09cac8c67a
2019-05-05 09:40:09 +02:00
ibrahimelbanna
dc77795f95
Adding time zone validation to conference model
2019-03-17 00:03:42 +02:00
Henne Vogelsang
455fc0a270
Make it possible to view Surveys in ichain mode
...
This is not ichain specific.
2019-03-08 14:39:39 +01:00
Henne Vogelsang
1a1da83bf2
Document the ichain specific ability
2019-03-08 14:39:39 +01:00
Henne Vogelsang
b57c771d3e
Allow viewing the schedule/events in ichain mode
...
This abilit is not specific to one mode.
2019-03-08 14:39:39 +01:00
Henne Vogelsang
bec13df131
Adopt more specs to the shoulda-matchers update
2019-02-19 20:50:09 +01:00
James Mason
072116fffe
Enable registration to proceed without requiring a ticket.
...
Requiring a ticket after registration is convoluted; while it may be neccesary
for some workflows, it definitely isn't for others, and the core of osem
doesn't need it... so let's make it optional.
2019-02-16 00:53:40 +01:00
Henne Vogelsang
a4d7a1a771
Change initial state to new
...
The initial state needs to be one that is part of the machine.
See the transition README.md
2019-02-15 17:09:03 +01:00
Henne Vogelsang
334f84179f
Use deliver_later in devise
...
Do not send devise mails directly in the request but through the
delayed jobs.
2019-02-01 01:00:56 +01:00
Henne Vogelsang
0f5181ccf4
Introduces New Installation Page
...
If there are no users signed up and no conferences we show a page
informing people what they need to do.
2019-02-01 01:00:56 +01:00
James Mason
516e53d9df
Use chartkick globally
...
* Clean up legacy charting imports
* Update existing donut and line charts
* Create helpers for parsing out existing chart data
* Move chart partials to a more common path
2018-12-30 16:57:22 -08:00
James Mason
43bef689fc
Rubocop autocorrections
2018-11-16 09:06:05 -08:00
James Mason
b11001cdba
Every campaign has an end.
...
Drop ahoy, because it's more trouble than it's worth. This means dropping
visits, campaigns, targets.
Campaigns are better run to analytics, such as:
* https://matomo.org/docs/tracking-campaigns/
* https://matomo.org/docs/tracking-goals-web-analytics/
* https://support.google.com/analytics/answer/1012040?hl=en
2018-10-16 21:34:04 +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
James Mason
64ceaf50f4
Update Admin user datatables to use AJAX
2018-08-30 16:50:42 +02:00
Stella Rouzi
9908f88570
Add survey with target after_event
2018-07-03 08:46:15 +03:00
Stella Rouzi
683f62a27c
Add more options for surveys
...
* Survey period constraints
* Add abilities
* Enforce required questions
* Update survey_submssion updated_at
* Do a full match of possible answer and user reply
2018-07-03 08:46:15 +03:00
Stella Rouzi
c278e547ce
Add survey related tests
2018-07-03 08:46:15 +03:00
Stella Rouzi
9f3c0eff5d
Add surveys; custom generated by admins
...
Available during registration or after conference
Co-authored-by: Shyukri <shshyukriev@suse.com>
Co-authored-by: Henne <hvogel@opensuse.org>
Co-authored-by: Moises <mdeniz@suse.com>
2018-07-03 08:46:15 +03:00
Stella Rouzi
3bb73f27cf
Fix ahoy tracking and visits
2018-07-02 09:42:40 -06:00
James Mason
24396d35c2
Use Ruby safe navigation over Rails try
...
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/SafeNavigation
2018-06-01 09:15:57 -07:00
Stella Rouzi
d01d15ba5e
Update paper_trail, show ticket price with currency in versions
2018-06-01 09:05:21 -07:00
Zach Kemp
3f2f35283c
improve template readability
2018-05-09 10:07:08 -07: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
James Mason
03ef28e74d
Require code of conduct acceptance on registration
2018-05-08 13:23:00 +02:00
James Mason
95196c7f80
Include code of conduct on conference
2018-05-08 13:23:00 +02:00
James Mason
217ec1a46f
Show code of conduct on organizations
2018-05-08 13:23:00 +02:00
James Mason
98defe2d0f
Use role caching for Rolify to avoid N+1 queries
...
Resolves #2018
See https://github.com/RolifyCommunity/rolify#cached-roles-to-avoid-n1-issue
2018-04-04 07:36:29 -07:00
Michael Klimenko
111812025b
Ignore changes of updated_at in Ticket and EventType models
2018-03-28 08:32:45 -07:00
Michael Klimenko
58cb62dd6d
Fix tickets turnover calculation
2018-03-27 07:52:25 -07:00
ViditChitkara
33d32b9294
currency of a single ticket could be updated now
...
closes #1913
fixed travis faliures
minor changes
removed empty file
added tests regarding currency updation
2018-03-15 13:19:59 +02:00
James Mason
a2ed9c0074
Move events index datatable row to a partial
...
- clean up columns
- tag unregistered submitters & speakers
- implement caching
2018-03-14 18:00:37 -07:00
Marie-Elise
b1960c08ef
Added name uniqueness validation for organization model.
2018-02-27 12:16:52 -08:00
Carlos Coelho
5f7029d28e
Make calculate_event_distribution use state to group events
...
Signed-off-by: Carlos Coelho <carlos@vinta.com.br>
2018-02-19 01:02:30 +02:00
ViditChitkara
9c322d682f
fixed csv export bug
2018-02-19 00:53:32 +02:00
namangupta01
7326bd132f
Ability of user to create registration is fixed Closes #1628
...
Speaker's ability to create registration and corresponding tests are improved
2018-02-10 19:19:02 +02:00
ViditChitkara
66a2777677
changes for test faliures
2018-01-23 18:26:03 -08:00
ViditChitkara
6d67e9c959
minor changes
2018-01-23 18:26:03 -08:00
ViditChitkara
0ec937e43e
fixed failing tests
2018-01-23 18:26:03 -08:00
ViditChitkara
86cab52f52
fixed ticket turnover bug
...
closes #1918
2018-01-23 18:26:03 -08:00
Rishabh Singh
61fcc262c8
Fixed org_admin administration dashboard error.
...
Fixed error accessing admin dashboard by passing
organization_id attribute.
Fixes #1933
2018-01-08 15:41:55 +01:00
Jan-Frederik Rieckers
e1e0bdb4fc
Add possibility to link to mastodon
2018-01-06 18:55:27 +01:00
Christina Anagnostou
979377f2df
Add unregistered speakers scope to program
...
And use it in Conference#registration_limit_exceeded?
Also change self.registered(conference) to registered(conference) to fix failures in linters
2018-01-05 10:38:15 +02:00
James Mason
fa55224163
Break up the one-query-of-doom
...
The single query was producing a tremendously large ActiveRecord allocation.
While this isn't nearly as cool as one query, it's still a significant
reduction in SQL trips, and now has the bonus of only loading what is
actually going to be displayed.
2017-12-22 10:48:55 -08:00
James Mason
995176ffe5
Fewer queries for for Conference#show
...
Reduces SQL wait times by >90% on splash pages.
2017-12-22 10:48:55 -08:00
Naman Gupta
6eb8c8d6ae
Added tests for program#any_event_for_this_date?
2017-12-21 21:17:00 +02:00
David Sedeño
57e596c67e
Use distinct instead of uniq because deprectation.
2017-12-15 23:08:21 +02:00
ViditChitkara
83053f4626
added email presence validation to openid
...
closes #1658
added test for openid
fixed robocup offences
written tests for email presence validation
minor changes
shifted omniauth callback tests to rspec controllers
fixed linting bug
minor changes
minor changes
2017-12-15 23:07:03 +02:00
Stella Rouzi
4289f699ac
Add enabled to event_schedules
...
To show scheduled events that have been cancelled/withdrawn as 'cancelled', and consequently also show when an event is their replacement.
admin/schedules#show does not show events that were scheduled and then cancelled/withdrawn, however a record in event_schedules exists for those events, but event_schedule.enabled = false
2017-12-15 12:31:58 -08:00