Commit graph

1805 commits

Author SHA1 Message Date
Stella Rouzi
c4eac5ec3b Minor refining in admin/versions#index 2018-06-01 09:05:21 -07:00
João Paulo Lemos Escola
716fda687b limits max number of tickets 2018-05-30 00:02:11 +02:00
robotscissors
97b43d1a22 Test twitter card and facebook with no image
I have tested two events one with an image and the
other without an image. I have put them through
the Facebook debug sharing tool as well as the
Twitter card validator and both work!
2018-05-24 16:42:31 -07:00
robotscissors
d53cc3b436 Add support for twitter cards and facebook shares
Added missing image url as well as created twitter card.
validated both with twitter validator and facebook validator.
All passed.

Need to check to see if no image is selected, what is outcome.
2018-05-24 16:42:31 -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
8a422412d6 Simplify helper (and remove alteration of string literal) 2018-05-09 06:54:26 -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
a6daff8582 Add/edit org code of conduct, as admin 2018-05-08 13:23:00 +02:00
James Mason
512ad067e1 Simple view for showing a document 2018-05-08 13:23:00 +02:00
Stella Rouzi
f8b9cd843c Add button to registration from physical_tickets#index 2018-05-07 18:02:17 -07:00
James Mason
168a832c10 Move modals content area to main layout 2018-05-06 11:05:24 +02:00
Stella Rouzi
c9a7b6fc1c Fix variable error in versions#index 2018-04-16 20:41:07 +03:00
Stella Rouzi
cf251515f4 Fix toggle of version changes in all pages of datatable 2018-04-16 20:41:07 +03:00
Situ William
d7b3029383 added edit button to the admin/tickets#show page 2018-04-12 13:02:05 +03: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
4bc783b42c Specify url input type for client-side validation 2018-03-27 09:51:25 -07:00
Michael Klimenko
58cb62dd6d Fix tickets turnover calculation 2018-03-27 07:52:25 -07:00
kostino
69de418ccd Add call for booths in cfp section in conference splashpage(conferences#show),modified after the design changes 2018-03-27 07:51:06 -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
769cc6c970 Modify query to work better across databases 2018-03-14 18:00:37 -07:00
James Mason
31a3cb18b7 Implement caching on admin event view
Resolves https://github.com/openSUSE/osem/issues/1985
2018-03-14 18:00:37 -07: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
James Mason
4951d085f5 Tidying up. 2018-03-14 18:00:37 -07:00
James Mason
81bad2eb4d DRY up event export menus 2018-03-14 18:00:37 -07:00
James Mason
0848df6948 Add helper for event switch checkboxes 2018-03-14 18:00:37 -07:00
James Mason
ad19a6d753 Use helpers for repeated event dropdown links 2018-03-14 18:00:37 -07:00
James Mason
4c58104a65 Remove blind_voting overreach
The 'Blind Voting' feature is described as:
> you do not want to show voting results and voters prior to user
> submitting a vote.

It does not imply or suggest that speaker or submitter names should be
hidden (especially from admins).

Resolves https://github.com/openSUSE/osem/issues/1984
2018-03-14 18:00:37 -07:00
James Mason
9e10678542 Clean up rating partials 2018-03-14 18:00:37 -07:00
James Mason
f062f7f4ee Reduce deprecation warnings 2018-03-15 01:20:57 +01:00
James Mason
cb7960fc3f Prevent error when parsing empty params hash
Fixes #1999
2018-03-14 23:58:17 +01:00
rahul2240
1b226f1ac8 Fix NoMethodError in revision history
Roles get deleted with organization so to show them in revision history previous version of role model is required.That is done here.
closes https://github.com/openSUSE/osem/issues/1937
2018-03-14 23:42:46 +01:00
AnkushMalik
913210347f Add error msg for null file while Adding Commercial for event
Null file error message added for uploading empty file in CommercialsController#mass_upload

Closes #1959
2018-03-02 11:36:52 -08:00
Marie-Elise
b1960c08ef Added name uniqueness validation for organization model. 2018-02-27 12:16:52 -08:00
Jason Taylor
281022a80c add .pdf file extension for ticket download 2018-02-23 12:37:11 +02:00
Godfrey Chan
0c8095493a Skylight instrumentation
This allows individual installations to optionally collect performance
data using [Skylight for Open Source](https://www.skylight.io/oss).
2018-02-22 21:08:24 -08:00
Carlos Coelho
8457dafbf6 Add withdrawn events to conference dashboard
Signed-off-by: Carlos Coelho <carlos@vinta.com.br>
2018-02-19 01:02:30 +02: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
James Mason
63515cef58 Change Conference#show to load sponsors
Caching on sponsorship levels alone is not changing; as a bonus the sponsor
modals are simplified a little.
2018-02-05 11:04:09 -08:00
James Mason
82d8629e43 Fix social media section of splashpage
Commit e1e0bdb4 inadvertently added a 2nd version of the partial.
2018-02-05 11:52:58 +01:00
AnkushMalik
ed21986cf1 Fix oauth btn alignment
Use flex for alignment of btn grp

Closes #1931
2018-01-31 09:56:05 -08: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