Michael Ball
b099246f78
delinting...space....
2021-04-17 17:45:55 -07:00
Michael Ball
59f534a010
fix hash style
2021-04-17 17:33:59 -07:00
Michael Ball
4c056f208e
Delinting
2021-04-17 17:29:58 -07:00
Michael Ball
5a3012f0b7
Add comiittee_review(_html) options to email spec
2021-04-17 17:08:16 -07:00
Michael Ball
d4ffda5d58
merge master
2021-04-15 21:56:18 -07:00
Jimmy
c3167a3503
[feat] Happening now JSON endpoint contains rendered abstract of event; Add corresponding tests
2021-03-31 17:35:25 +08:00
CactusPuppy
652381a0b8
Update annotate_models comments
2021-03-18 20:36:39 -07:00
Jimmy
85c7b31a77
Merge branch 'master' of https://github.com/CactusPuppy/snapcon into 176895512-automatically-redirect-to-registration-after-buying-a-ticket
2021-03-10 14:58:01 -08:00
Jimmy
aa1b281f9a
[test] Fix test for user#count_registration_tickets
2021-03-10 11:00:14 -08:00
Jimmy
9fd6659d9d
[style] fix style
2021-03-09 18:31:02 -08:00
Jimmy
59d19b3ae8
[style] fix style
2021-03-09 18:28:09 -08:00
Jimmy
11a4d200f7
[test] Fix style; add test for user#count_registration_tickets
2021-03-09 18:25:15 -08:00
Michael Ball
f3271f5cdc
Merge master
2021-03-08 16:48:06 -08:00
Michael Ball
d1ca21f479
Merge OSEM updates
2021-03-08 02:50:27 -08:00
Michael Ball
8242eb3338
Remove submission_limit validation for submission_text
2021-03-08 02:18:44 -08:00
Michael Ball
3d99661d02
Add a submission instructions columns
2021-03-06 11:30:57 -08:00
Espartaco Palma
5d79049e59
Linters gonna lint
...
I was not aware the linting was also applied to specs
2021-03-06 19:09:38 +01:00
Espartaco Palma
fd2635509f
Introducing delegation for city and country name (Conference - Venue
...
Using ActiveSupport delegate macro.
2021-03-06 19:06:36 +01:00
James Mason
7a04f3582f
Remove travel schedule from registration
...
(cherry picked from commit d18cc02f0185df39bb4213d8a63a955dfb433dcb)
Re: https://github.com/openSUSE/osem/issues/2333
2021-03-06 04:09:02 +01:00
Henne Vogelsang
b688d353ac
Skip some failing specs...
2021-03-06 02:41:07 +01:00
CactusPuppy
f207d070ac
Add spec for submission limits
2021-02-27 11:29:27 -08:00
CactusPuppy
b94894fe87
Update annotate_models
2021-02-26 11:04:20 -08:00
CactusPuppy
d63a22c54e
Fix Rubocop issues
2021-02-24 19:22:21 -08:00
Michael Ball
13aa7db90d
use TODO-SNAPCON for the comment tag since rubocop is not flexible enough
2021-02-24 03:32:19 -08:00
Michael Ball
49821fff52
Fix TicketScanning spec by properly creating a *paid* ticket purchase
2021-02-24 02:03:49 -08:00
Michael Ball
8c3a29da47
fix typo in user spec
2021-02-24 02:03:19 -08:00
Michael Ball
5c899f8ca5
WTF is going on with registration spec
2021-02-24 00:27:49 -08:00
Michael Ball
98cd18c883
Resolve User model spec for auth methods
2021-02-23 22:45:28 -08:00
Michael Ball
d7e24f6521
Run annotate_models
2021-02-20 09:57:27 -08:00
Michael Ball
2892a56a1c
merge master
2020-12-04 01:17:39 -08:00
Hiroshi SHIBATA
ae98ac1430
Fixed some typos ( #2695 )
...
* Fix typos
2020-10-30 11:06:43 +02:00
Michael Ball
0b9b100bf3
Merge master
2020-06-02 01:59:54 -07:00
Tymm Schmitke
40036899b3
Add empty line at end of file
2020-05-19 23:18:05 -04:00
Tymm Schmitke
aa99f909a6
Add uniqueness tests for Event scope on Vote model with User association
2020-05-19 22:24:37 -04:00
Michael Ball
cc9a759960
add sentry puma hooks
2020-02-05 23:25:08 -08:00
Michael Ball
506f0c946f
Update user model spec
2020-01-27 15:23:54 -08:00
James Mason
3a94aeb073
Remove travel schedule from registration
...
(cherry picked from commit d18cc02f0185df39bb4213d8a63a955dfb433dcb)
Re: https://github.com/openSUSE/osem/issues/2333
2019-12-02 14:19:12 -08:00
Stella Rouzi
8cf9c15a46
Revert change of active user definition
...
Closes #2560
Active users are needed for selectize, and the active definition changed to show recent users in #2297
This reverts that change, and provides
* active scope (user not disabled)
* recent scope (for use in #2297 changes, ie user distribution)
2019-10-24 18:34:12 +03:00
Ana María Martínez Gómez
32764d9498
Create roles when not found in test
...
Otherwise the test fails at least some times.
2019-05-05 09:40:49 +02:00
cyrille
35ec178beb
Create a factory for organizer
...
Refactor organizer user creation in tests
Fixes https://github.com/openSUSE/osem/issues/2398
2019-03-18 23:16:15 +01:00
Henne Vogelsang
bec13df131
Adopt more specs to the shoulda-matchers update
2019-02-19 20:50:09 +01:00
Ana María Martínez Gómez
b778459e17
Skip test due to a bug in Shoulda Matchers 3
...
Skip test until bug is solved:
https://github.com/thoughtbot/shoulda-matchers/issues/814
It is also needed to use the new qualifier `ignoring_case_sensitivity`
to `validate_uniqueness_of` introduced in Shoulda Matchers 3.1.0
2019-02-19 20:50:09 +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
8b12b1662d
Unlint Rspec/DescibeClass #BetterPlace
2018-11-06 08:19:01 -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
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
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
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