Commit graph

154 commits

Author SHA1 Message Date
Jimmy
a35badb2ca
[feat]Restrict fullcalendar to display time from the start hour to end hour of a conference 2021-04-30 17:33:16 +08:00
Jimmy
a0e3770dc3
[feat]Remove All Day in fullcalendar view 2021-04-30 16:50:18 +08:00
Jimmy
1de29c4df1
[doc]Add comment in fullcalendar.js so that if events are added to database with timezone info explicitly, the fullcalendar can be fixed 2021-04-30 16:32:06 +08:00
CactusPuppy
1c23033f1d
Move JS out of view and have calendar start on same day as horizontal schedule 2021-04-28 23:53:55 -07:00
CactusPuppy
22961c4071
Revert "Commit to using Yarn over NPM"
This reverts commit dd6a2600e7.
2021-04-28 23:07:13 -07:00
CactusPuppy
dd6a2600e7
Commit to using Yarn over NPM 2021-04-28 21:42:16 -07:00
Jimmy
df729b7dde
[feat]Fullcalendar integration done 2021-04-26 17:33:31 +08:00
Michael Ball
eaf13b1b69
Merge branch 'master' into master 2021-04-15 20:29:54 -07:00
Jimmy
3c7cc6cfdb [feat]Use Ajax for paginating happening_now 2021-04-09 17:16:16 +08:00
Michael Ball
386577cd21 Update submission text when it matches any default type of text 2021-04-01 14:43:52 -07:00
Michael Ball
e810fd442f Cleanup the submission form, fix reset button 2021-03-23 23:06:34 -07:00
Michael Ball
ed20ff3b51 Refactor the new/edit submission forms 2021-03-23 22:43:11 -07:00
Michael Ball
75b60c2578 Use 'Description' on the submissions page. Fill template from submission_instructions 2021-03-22 02:59:35 -07:00
CactusPuppy
c1fad244ef
Update comment in osem.js to be accurate 2021-03-10 13:26:45 -08:00
CactusPuppy
07348cb08f
Create JS hook for template reset 2021-03-10 13:25:59 -08:00
CactusPuppy
a48e78da22
Fill submission text if the field is currently empty 2021-03-10 13:25:59 -08:00
Michael Ball
d1ca21f479 Merge OSEM updates 2021-03-08 02:50:27 -08:00
Stella Rouzi
780d37eb41
Enable datepicker for readonly fields
Remove minDate definition, so that value appears in readonly input
2021-03-06 12:48:50 +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
CactusPuppy
d46e1e7397
Add JavaScript to make placeholder text update along with word count 2021-02-24 23:41:19 -08:00
Michael Ball
2892a56a1c merge master 2020-12-04 01:17:39 -08:00
Thomas Schmidt
588884bace
update jquery-ui-rails 2020-09-29 00:41:18 +02:00
Michael Ball
70e5cc8e96 maybe case matters here 2020-07-13 04:45:04 -07:00
Michael Ball
cd88882714 upgrade datatables gem 2020-07-13 02:58:15 -07:00
Michael Ball
7d2135f851 Add the ability for Rooms to have a URL.
The URL is shown on the schedule and the event/proposal page.
The URL is only when a user is logged in and registered.
2020-07-10 20:18:10 -07:00
Michael Ball
8d5c300639
Merge branch 'master' into michael/rm-start-restriction 2020-06-02 02:08:33 -07:00
Michael Ball
152f200f93 DatePickers: Remove enforcing start date min.
You might want to edit conference metadata after the start date has past, so it is
logical to allow the start date to be earlier than "today". As there are no backend
validations, this change is safe and removes a UI bug.
2020-06-02 02:04:38 -07: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
cyrille
e669b37dfa Fixes datetime pickers
- some read only attributes that deny pick a date/date-time
- typos in haml and in JS
- undefined methods in JS

Fixes https://github.com/openSUSE/osem/issues/2455
2019-03-27 23:04:42 +01:00
Rahul
9959b1853b Remove picktime
Fixes https://github.com/openSUSE/osem/issues/2347 picktime is deprecated so removing it fixes the issue.
2019-03-09 00:34:26 +05:30
Henne Vogelsang
1e5558660f
Merge pull request #2354 from Ana06/datepickers
Fix Datepickers in Call for Content
2019-03-08 14:31:57 +01:00
Ana María Martínez Gómez
1a3e3f433d
Fix Datepickers in Call for Content
Datapickers in Call for Events/Booths/Tracks were broken which made impossible
to create them (as the date is required).

Those are not the only Datepickers broken and a similar solution should work
for the rest as well.

Fixes https://github.com/openSUSE/osem/issues/2349
2019-03-06 15:04:22 +01:00
Henne Vogelsang
6ec905b666 Fix scheduling
Can't cache the event as the data is changed the scheduling js.

We also can't verify the token in the EventSchedules controller
as we are making susequent ajax calls and have no means to refresh
the token for the second request.

Make draggables scrollable.

There also is no need to spam the console with debug code...

Partly fixes #2353
2019-02-22 10:45:19 +01:00
Henne Vogelsang
ae9430dfb8 Revert "Add rails-ujs"
This reverts commit b846df30f9.
2019-02-22 02:04:57 +01:00
Henne Vogelsang
b846df30f9 Add rails-ujs 2019-02-21 23:57:07 +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
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
James Mason
988803b601 Shuffle splashpage highlights
(cherry picked from commit 1101c3c9497766a498422ce5c5bfe797a52cf840)
2018-10-11 00:51:46 +02:00
James Mason
d7a0936dd7 Convert admin/registrations datatable to AJAX-backed
Supercedes https://github.com/openSUSE/osem/pull/2031 .

Note:

* "Questions" modals have been dropped from this view; questions are no
  longer asked on registration, since Surveys(PR#1100)  were added.
2018-10-10 21:57:22 +02:00
James Mason
c524f8cc65 Add an option for shorter datatable pages 2018-08-30 16:50:42 +02:00
James Mason
7541f5818c Require >=3 chars for datatable search
Performing a search with < 3 chars is not generally fruitful
2018-08-30 16:50:42 +02:00
James Mason
64ceaf50f4 Update Admin user datatables to use AJAX 2018-08-30 16:50:42 +02:00
Stella Rouzi
e1adf28081 Show charts for survey replies 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
James Mason
1e9765c163 DRY up bootstrapSwitches with default values 2018-06-26 07:10:08 -07:00
James Mason
d703dad496 Add a function for initing boostrapSwitch outside of $() 2018-06-26 07:10:08 -07:00
Stella Rouzi
cf251515f4 Fix toggle of version changes in all pages of datatable 2018-04-16 20:41:07 +03:00
Adriano Vieira
6d7e1f4865 autofill CFP end date
- automatically setting the end date to the start date when creating
  CFP for UX reasons (fix #1872)
2017-12-12 18:23:56 +02:00
Ana María Martínez Gómez
0cb273749a
Merge pull request #1845 from adrianovieira/autofill_conference_end_date
autofill conference end date
2017-12-08 08:58:53 +01:00
Adriano Vieira
bbb09dd237 autofill conference end date
- automatically setting the end date to the start date when creating or
  modifying a conference for UX reasons (fix #1844)
2017-12-05 21:49:12 -02:00