Commit Graph

356 Commits

Author SHA1 Message Date
Petko Bordjukov
d490a4e9f3 Fix log out path in management navigation 2015-08-15 03:42:33 +03:00
Petko Bordjukov
5b7eb4b562 Remove global Devise views 2015-08-15 02:50:54 +03:00
Petko Bordjukov
173f251148 Implement personal profile building for User 2015-08-15 01:57:17 +03:00
Petko Bordjukov
2203aee1d5 Fix CFP status for conferences 2015-08-15 01:57:02 +03:00
Petko Bordjukov
9c607b6ccd Implement missing event submission functionality 2015-08-15 00:43:30 +03:00
Petko Bordjukov
d279ab6f0d Remove the PropositionAccepting abstraction 2015-08-14 23:58:51 +03:00
Petko Bordjukov
4e3ff3eacc fixup 2015-08-14 23:58:19 +03:00
Petko Bordjukov
1ea96bfdff Add track_id to Event 2015-08-14 23:58:02 +03:00
Petko Bordjukov
52901e976c Add conference_id to Event 2015-08-14 23:39:29 +03:00
Petko Bordjukov
57dc267f78 Fix new conference creation 2015-08-10 21:40:06 +03:00
Petko Bordjukov
2d325c492c Fix an SQL query that fails on postgres 2015-08-10 21:21:48 +03:00
Andrew Radev
08290d1770 Create or update profile 2015-08-05 17:17:39 +03:00
Andrew Radev
adb5ca34b6 Remove half-baked methods
We'll think of something better later on.
2015-08-05 15:07:07 +03:00
Andrew Radev
f5249be3d4 Management fixes 2015-08-05 15:05:31 +03:00
Andrew Radev
9f5d7f2bb2 Post-rebase fix 2015-08-05 14:58:24 +03:00
Andrew Radev
9d53e49fb4 OpenFest: Fix registration and login process 2015-08-05 14:56:50 +03:00
Petko Bordjukov
ce61422321 OpenFest: Devise stint 2015-08-05 14:56:49 +03:00
Petko Bordjukov
c4db0ff920 Extract current_conference assignment in a concern 2015-08-05 14:55:58 +03:00
Petko Bordjukov
cfd987800b Merge remote-tracking branch 'origin/pr/22' into 2.0 2015-07-31 15:21:59 +03:00
Petko Bordjukov
9ca34c5a22 Introduce a Participation model
This model is responsible for the 1..n - 1..n relationship between an
event and the people that will participate in it.
2015-07-31 14:40:04 +03:00
Andrew Radev
6b1ade8931 Translations 2015-07-30 21:21:30 +03:00
Andrew Radev
59d1bca0dc Create new profiles 2015-07-30 21:19:03 +03:00
Andrew Radev
d8986f542d Update profiles, not users 2015-07-28 15:43:19 +03:00
Andrew Radev
7a8bba1646 WIP attempt to create new profile for conference 2015-07-26 15:58:08 +03:00
Andrew Radev
a1a3155e0b Author name on event 2015-07-26 15:33:07 +03:00
Andrew Radev
fd6317566d Fix issue with user actions 2015-07-26 14:58:56 +03:00
Andrew Radev
8f2707ffe7 Group proposals by user 2015-07-26 14:55:01 +03:00
Andrew Radev
752fc6262a Use @conference for current_conference if available
This means the top menu would work on the conferences#show page.
2015-07-26 14:39:50 +03:00
Petko Bordjukov
9d53b19679 Make sure the new Conference comes with at least one EventType 2015-07-19 20:15:12 +03:00
Petko Bordjukov
4abc5fbe52 Add Event Type editing to the Conference form 2015-07-19 20:06:17 +03:00
Petko Bordjukov
d381b800c4 Add associations to Track and Conference to Event 2015-07-19 14:32:25 +03:00
Petko Bordjukov
0ece79a8ae Scope event operations to the current conference
An indirect Conference -> Track -> Proposition -> Event relation exists
within the data model. Use it to limit all operations in the Events
controller to events, associated with the current conference.
2015-07-19 14:11:44 +03:00
Andrew Radev
1bec127503 Initial work on propositions, filter events correctly 2015-07-19 12:01:36 +03:00
Andrew Radev
c6750d3a1a Nest everything under /conferences/:id/ again
Would be more straightforward to work with, even if it's a bit more
verbose sometimes.
2015-07-19 11:46:47 +03:00
Andrew Radev
4963c74925 Initial events CRUD 2015-07-14 21:00:02 +03:00
Andrew Radev
df682e65e5 Create conference slug and maintain it in params 2015-07-12 11:05:38 +03:00
Andrew Radev
6ce06ddbf6 Don't break when there's no slug 2015-07-12 10:28:24 +03:00
Andrew Radev
fb7c39315a Put current conference in url 2015-06-09 21:50:23 +03:00
Andrew Radev
3e6d307e48 Fix login 2015-05-30 19:00:44 +03:00
Andrew Radev
454f18dd2f A user has many profiles now
Still need to change controllers quite a lot.
2015-05-30 18:53:14 +03:00
Andrew Radev
b0a978975c Fix phony normalization problem 2015-05-30 18:24:33 +03:00
Andrew Radev
f2dddcdff5 Rename SpeakerProfile to PersonalProfile 2015-05-30 18:24:12 +03:00
Andrew Radev
f4778c9e10 Style fix 2015-05-30 17:57:43 +03:00
Andrew Radev
965529981e Conference controller cleanup and fixes 2015-05-30 17:24:49 +03:00
Andrew Radev
c2c108ca07 Set active conference upon creation 2015-05-30 17:18:28 +03:00
Andrew Radev
906e95f2e3 Working management homepage 2015-05-30 17:16:11 +03:00
Andrew Radev
296b80494b Set current conference, scope everything under it 2015-05-30 17:07:57 +03:00
Andrew Radev
32402b62e0 Admin toggling 2015-05-30 16:34:49 +03:00
Andrew Radev
ea3c8e70fd User#show 2015-05-30 16:26:48 +03:00
Andrew Radev
e98a0c956c User editing fixes 2015-05-30 15:29:07 +03:00
Andrew Radev
741eaae6e4 Default image in users#show 2015-05-25 11:43:30 +03:00
Andrew Radev
aa43ab12dd Profile pictures in user list 2015-05-25 11:41:11 +03:00
Andrew Radev
c3f17592bc Delete users 2015-05-25 11:29:22 +03:00
Andrew Radev
cddab7a27e Simple user updating
This will probably not be done through management, but 1) there should
still be a way to update a user through the management interface, and 2)
it'll be easy to copy this code over to the public interface later.
2015-05-24 12:28:05 +03:00
Petko Bordjukov
2b64461ac9 Implement changing of the status of the CFP
Allow a user to start and end a call for participation from the
conference list.
2015-05-24 01:17:42 +03:00
Petko Bordjukov
5e9914875c Automatically create an associated CFP with a Conference
Make sure there is always an associated unopened call for participation
for each conference.
2015-05-24 01:17:41 +03:00
Petko Bordjukov
463e43226e Introduce CallForParticipation status mutation methods
Add the #open! and #close! methods to CallForParticipation in order to
provide an easy way of setting the opens_at and closes_at times.
2015-05-24 01:17:41 +03:00
Petko Bordjukov
5e15a055e1 Introduce CallForParticipation status predicates
Introduce the #open? #closed? and #in_progress? methods for the
CallForParticipation model.
2015-05-24 01:17:41 +03:00
Andrew Radev
749f8ec30d Work on user management 2015-05-10 12:36:29 +02:00
Andrew Radev
ea981aa0c9 Fixes to conference creation process 2015-04-29 12:00:17 +02:00
Andrew Radev
4ffbe5e68f Flash messages 2015-04-29 11:52:58 +02:00
Andrew Radev
c9179922d7 Minor translation fix 2015-04-29 11:52:34 +02:00
Petko Bordjukov
9724633c23 Add mockup menu items 2015-04-20 19:52:29 +03:00
Petko Bordjukov
ec1bbcc88a Drop the .css portion of all .css.scss files 2015-04-20 19:37:03 +03:00
Petko Bordjukov
b176f607d0 Fix white space in conferences.js.coffee 2015-04-20 19:35:43 +03:00
Petko Bordjukov
01a30c3487 Bulk remove everything that needs to be reimplemented 2015-04-20 19:35:30 +03:00
Petko Bordjukov
cf489324c2 Fix the submissions chart 2015-04-20 19:11:39 +03:00
Petko Bordjukov
8d5056e274 Introduce a CallForParticipation model 2015-04-20 18:55:06 +03:00
Petko Bordjukov
819e07338b Introduce a confirmed scope for Event 2015-04-20 18:37:14 +03:00
Petko Bordjukov
0948cd1b14 Make the Event model a Proposable 2015-04-20 18:37:05 +03:00
Petko Bordjukov
8508d64a92 Introduce a Proposable concern
The Proposable concern defines a relation to a Proposition and defines
scopes that translate to the statuses of the Proposition.
2015-04-20 18:35:22 +03:00
Petko Bordjukov
d6e3f9ba5d Make the status attribute of Proposition an enum 2015-04-20 18:34:17 +03:00
Petko Bordjukov
d01e762c03 Comment out the chart generation for now
The submission chart generation was broken. Comment it out until the
CallForPapers model is introduced.
2015-04-20 18:33:16 +03:00
Petko Bordjukov
eed66f32e2 Restyle the ConferencesController#index view 2015-04-20 16:59:16 +03:00
Petko Bordjukov
10c9bfaa06 Add an active class to the conferences menu item 2015-04-20 16:59:00 +03:00
Petko Bordjukov
21b1ae75bb Restyle the Sessions#new view 2015-04-20 16:42:42 +03:00
Petko Bordjukov
772f569351 Add translated strings for Devise views 2015-04-20 16:40:08 +03:00
Petko Bordjukov
8e406c7076 Add a sessions.sign_in string in the locales 2015-04-20 16:19:13 +03:00
Petko Bordjukov
167976eedc Revamp the navigation bar 2015-04-20 15:42:39 +03:00
Petko Bordjukov
4e606894b5 Revamp the main layout 2015-04-20 15:41:57 +03:00
Petko Bordjukov
622343304c Remove the ugly side bar 2015-04-20 15:08:14 +03:00
Petko Bordjukov
6f42466a29 Extract the navigation bar in a partial 2015-04-20 15:03:02 +03:00
Petko Bordjukov
c9b6f03c32 Introduce an association to Events from Conferences 2015-04-17 22:12:13 +03:00
Petko Bordjukov
050db7d124 Introduce a PropositionAccepting concern
It's sole purpose is to denote models that can be associated with a
proposable model.
2015-04-17 21:52:27 +03:00
Petko Bordjukov
817b8a98f2 Remove several unneeded colums from events 2015-04-17 03:56:14 +03:00
Petko Bordjukov
9f0886af1e Introduce the EventType model
This model will be used to define what types of events will happen
during a conference.
2015-04-17 03:39:18 +03:00
Petko Bordjukov
5c612dfb86 Spec out the basic functionality of Event
Remove the no longer needed functionality of Event and add specs that
define the still needed parts.
2015-04-17 02:13:10 +03:00
Petko Bordjukov
cc4f1e9c13 Introduce the Proposition model
Introduce an abstraction that is going to be used to propose models for
other models that can accept propositions.
2015-04-17 02:03:07 +03:00
Petko Bordjukov
408457a765 Remove unneeded functionality from Event 2015-04-17 02:03:07 +03:00
Petko Bordjukov
69c56d9c7a Remove unnecessary css class 2015-04-09 01:17:40 +03:00
Petko Bordjukov
2328c01447 Tweak application.css.scss 2015-04-09 01:12:32 +03:00
Petko Bordjukov
f806e8bcff Migrate to font-awesome-sass 2015-04-09 01:10:27 +03:00
Petko Bordjukov
698dd349dc Remove the SuggestionGroup model 2014-11-05 11:48:25 +02:00
Petko Bordjukov
cf953bd853 Remove old Lecture and Workshop models
We won't be using STI anymore for the events
2014-11-05 11:47:08 +02:00
Petko Bordjukov
fd9e53e1c0 Completely remove user interface
Remove the user interface and leave only the admin interface.
2014-11-05 11:29:07 +02:00
Petko Bordjukov
6fb3532f01 Completely describe Conference behaviour with specs
Add missing specs for the Conference model and remove unnecessary
functionality. Also introduce a Hall factory.
2014-11-05 11:23:51 +02:00
Petko Bordjukov
6330940a34 Add tests for translatable Conference attributes
Test if the title and the description attributes of the Conference model
are translatable. Also introduce a custom matcher for translatable
attributes as there will be many. Fix a typo in the process.
2014-11-04 21:16:06 +02:00
Petko Bordjukov
8220ee1d58 Delete badly written code 2014-11-04 21:13:45 +02:00
Petko Bordjukov
b5cd1ff8f1 Add a json export of the schedule 2014-11-01 04:04:51 +02:00
Petko Bordjukov
26e523dc2f Add Event#send_acceptance_second_notification 2014-10-20 22:36:21 +03:00
21f854ea56 second mailing text 2014-10-20 22:31:57 +03:00
Petko Bordjukov
52eb777a44 Add rejection notification 2014-10-17 21:05:26 +03:00
Petko Bordjukov
49079b635e Add submissions chart to conferences 2014-10-15 13:32:58 +03:00
Petko Bordjukov
d1f49a4218 Tweaks 2014-10-15 13:32:58 +03:00
Petko Bordjukov
eceed74020 Conference review UI 2014-10-15 13:32:58 +03:00
Petko Bordjukov
ddd18c256f Tweak navbar 2014-10-15 13:32:58 +03:00
Petko Bordjukov
845eb891b1 Implement deletion of conferences 2014-10-15 13:32:58 +03:00
Petko Bordjukov
ac5b1e2d4d Add Halls to the Conference form 2014-10-15 13:32:58 +03:00
Petko Bordjukov
999da93b41 Add CFP Status to Conferences 2014-10-15 13:32:58 +03:00
Petko Bordjukov
17bbe0372a Add a link to the conference index in the sidebar 2014-10-15 13:32:58 +03:00
Petko Bordjukov
db1bb07565 Conference index 2014-10-15 13:32:58 +03:00
Petko Bordjukov
c2548fcd48 New conference UI 2014-10-15 13:32:58 +03:00
Petko Bordjukov
c19154820c UI Revamp 2014-10-15 13:32:58 +03:00
Petko Bordjukov
649c5a768c Allow an event to have more than one speaker 2014-10-13 16:50:16 +03:00
Petko Bordjukov
7fb71d8cf9 Make sure to specify a locale in the URL for the english version 2014-10-13 12:53:48 +03:00
Petko Bordjukov
6014356cd1 Use correct schedule link for bulgarian acceptance email 2014-10-13 12:37:41 +03:00
Petko Bordjukov
a76202d7a1 Add acceptance notification contents 2014-10-13 12:24:25 +03:00
Petko Bordjukov
6d7eb739fc Display confirmed events as green 2014-10-12 15:38:15 +03:00
Petko Bordjukov
cb9a04cbe7 Implement a way for admins to send notifications 2014-10-12 15:32:23 +03:00
Petko Bordjukov
cf815695b7 Implement a way for users to confirm submissions 2014-10-12 15:10:21 +03:00
Petko Bordjukov
97fcc32990 Implement an acceptance mailer with localized views 2014-10-12 14:54:06 +03:00
Petko Bordjukov
27677e2d0a Add a square version of the photos for the shedule 2014-10-12 13:31:48 +03:00
Petko Bordjukov
f34b03d64b Add schedule model 2014-10-12 13:26:07 +03:00
Petko Bordjukov
a716eae7e8 Change event status icons 2014-10-11 19:08:35 +03:00
Petko Bordjukov
c83a6fb719 Add a backup event status 2014-10-10 20:25:41 +03:00
Petko Bordjukov
054ef9c947 Sort suggestions by speaker name 2014-10-10 19:23:38 +03:00
Petko Bordjukov
0efe4b95cb Event state management 2014-10-10 19:10:34 +03:00
Petko Bordjukov
642eed9332 Add speaker counts and language to table 2014-09-30 14:46:36 +03:00
Petko Bordjukov
2cc50622d4 Put the suggestions in a container 2014-09-30 13:47:17 +03:00
Petko Bordjukov
62649edb67 Management interface for Event Suggestions 2014-09-30 13:34:09 +03:00
Petko Bordjukov
24ddcaba3a Sort the users by id 2014-09-18 01:07:09 +03:00
Petko Bordjukov
3d4d9d6e20 Use the medium picture when displaying profile 2014-09-17 19:57:32 +03:00
Petko Bordjukov
d5cdc8efc1 Add a medium version to the picture uploader 2014-09-17 19:47:31 +03:00
Petko Bordjukov
2d285b5cc9 Tweak column size 2014-09-17 19:11:35 +03:00
Petko Bordjukov
418bbd067d Tweak user listing/details 2014-09-17 18:27:21 +03:00
Petko Bordjukov
98bc2ba496 User details preview 2014-09-17 17:48:46 +03:00
Petko Bordjukov
a95babec22 Add translations for management-related strings 2014-09-17 14:40:31 +03:00
Petko Bordjukov
56b6808f8b Tweak the management nav 2014-09-17 14:36:05 +03:00
Petko Bordjukov
414f1a3916 Add authorisation check for ManagementController 2014-09-17 14:30:50 +03:00
Petko Bordjukov
10eec9c080 Initial implementation of user management 2014-09-17 14:23:36 +03:00
Petko Bordjukov
ec9ce0dc5a Introduce Bootswatch theming 2014-09-17 13:25:50 +03:00
Petko Bordjukov
e05234ecb3 Initial HomeController for Management 2014-09-17 12:43:43 +03:00
Petko Bordjukov
50cd123935 Introduce bootstrap-sass and extras 2014-09-17 12:43:02 +03:00
Petko Bordjukov
f37ef78058 Add a space in the page title 2014-09-07 00:49:33 +03:00
Petko Bordjukov
ab1ce49c29 UX tweaks 2014-09-07 00:06:50 +03:00
Petko Bordjukov
efbde3ac18 Fix typo 2014-09-06 19:31:27 +03:00
Petko Bordjukov
fbea343c10 Order the tracks by ID 2014-09-06 19:04:22 +03:00
Petko Bordjukov
8b472d4536 Fix slim syntax error 2014-09-06 19:01:53 +03:00
Petko Bordjukov
465418cf1d Add a localised description to the tracks 2014-09-06 18:21:59 +03:00
Petko Bordjukov
0588b48084 Add a license notice to the start page 2014-09-06 17:43:32 +03:00
Petko Bordjukov
c93900702f Send event notifications to the core team 2014-09-06 17:17:09 +03:00
Petko Bordjukov
7a952da378 Display the picture field as mandatory 2014-09-04 13:02:09 +03:00
Petko Bordjukov
5a360475a2 Add event terms acceptance requirement 2014-09-04 00:39:54 +03:00
Petko Bordjukov
a85a80f7e0 Tweak redirection when the user has no speaker profile 2014-09-02 18:43:26 +03:00
Petko Bordjukov
884d8083fa Fix typo 2014-09-02 18:31:18 +03:00
Petko Bordjukov
1321eb67cf Send a notification to administrators on new event 2014-09-02 18:11:35 +03:00
Petko Bordjukov
e730d2f842 Copy over the OpenFest logo 2014-09-02 16:39:59 +03:00
Petko Bordjukov
91bc245d59 Fix minor bug 2014-09-02 16:31:57 +03:00
Petko Bordjukov
823dd38775 Copy over stylesheets from the OpenFest site 2014-09-02 16:31:45 +03:00
Petko Bordjukov
b0aa271b7b Display a flash after sign in of user without SpeakerProfile 2014-09-02 12:35:00 +03:00
Petko Bordjukov
f34de8f107 Redirect to Speaker Profile after event creation 2014-09-02 12:31:15 +03:00
Petko Bordjukov
1d144019a4 Move the track list elements to a partial 2014-09-02 11:28:15 +03:00
Petko Bordjukov
b6a6a04064 Convert everything to slim 2014-09-02 11:24:15 +03:00
Petko Bordjukov
55346ef5b4 Fix an annoying bug with devise and localization
Preserve locale on redirect to the sign in page
2014-09-01 23:48:55 +03:00
Petko Bordjukov
cc6a0066a3 Globalize conferences 2014-09-01 13:45:44 +03:00
Petko Bordjukov
73fda59891 Add titles for all the pages 2014-09-01 12:57:27 +03:00
Petko Bordjukov
817acc98de Clean-up leftover files 2014-09-01 12:57:06 +03:00
Petko Bordjukov
a4972b450b Do not add a locale parameter when not needed 2014-09-01 12:56:33 +03:00
Petko Bordjukov
f3b105c4ea Fix typo 2014-09-01 12:34:47 +03:00
Petko Bordjukov
6361512fe4 Flip on locale setting 2014-09-01 12:32:03 +03:00
Petko Bordjukov
3889dcce65 Locale fixes 2014-09-01 12:17:56 +03:00
248781006e Finished translating .erb files 2014-08-31 22:34:24 +03:00
c91715ebdf Finished translating .slim files 2014-08-31 22:11:46 +03:00
1f599b8596 Partial string extraction and translation 2014-08-31 21:46:03 +03:00
Petko Bordjukov
2535429b85 Styling of Lectures and Workshops show views 2014-08-31 20:16:21 +03:00
Petko Bordjukov
09b737264f Add preview image in the User edit form 2014-08-31 19:29:19 +03:00
Petko Bordjukov
da666d11d0 Front-end tweaks 2014-08-31 18:58:07 +03:00
Petko Bordjukov
2562055206 More CSS tweaks 2014-08-31 18:48:53 +03:00
Petko Bordjukov
673c1de4a0 Tweak styles of buttons on home page 2014-08-31 18:31:50 +03:00
Petko Bordjukov
99e08ff204 Allow only jp(e)g and png uploads 2014-08-31 18:09:44 +03:00
Petko Bordjukov
f849111614 Remove HTML versions of Devise emails 2014-08-31 18:09:20 +03:00
57f7632341 text versions of the emails 2014-08-31 18:05:02 +03:00
Petko Bordjukov
5554ffd6aa Picture uploading 2014-08-31 16:02:56 +03:00
Petko Bordjukov
9cca063a1b Speaker profile editing 2014-08-31 14:57:34 +03:00
Petko Bordjukov
da8cd26222 More flash 2014-08-31 13:08:14 +03:00
Petko Bordjukov
9523fc3865 Translate Devise views 2014-08-31 12:37:17 +03:00
Petko Bordjukov
c33e95bdd8 Add Workshop controller functionality 2014-08-30 19:59:33 +03:00
Petko Bordjukov
d43a9bc941 Add a LecturesController#index action 2014-08-30 19:45:25 +03:00
Petko Bordjukov
90c3361f88 Lecture editing 2014-08-30 17:37:08 +03:00
Petko Bordjukov
6728b3d059 Lecture creation 2014-08-30 17:33:22 +03:00
Petko Bordjukov
0190ee077f Make the home page dynamic 2014-08-30 16:58:42 +03:00
Petko Bordjukov
a02ac5d7e2 Form styling by @krasimir 2014-08-12 16:39:46 +03:00
Petko Bordjukov
df7317c746 Initial implementation of the LecturesController 2014-08-10 23:50:44 +03:00
Petko Bordjukov
fa63c14e47 Add current and future scopes for Conference 2014-08-10 22:05:25 +03:00
Petko Bordjukov
89de56d94d Add an initial implementation of the Event model
Initial implementation & specs of the Event model and its children
2014-08-10 21:18:41 +03:00
Petko Bordjukov
9f875a88bf Add an initial Track model implementation 2014-08-10 20:30:37 +03:00
Petko Bordjukov
de9a3aea9d Add initial Conference model implementation 2014-08-10 19:57:46 +03:00
Petko Bordjukov
b49eb7ef4b Add a placeholder for the Home screen 2014-08-10 19:21:53 +03:00
Petko Bordjukov
8122f89322 Add more validations to SpeakerProfile 2014-08-07 15:19:28 +03:00
Petko Bordjukov
068ea45cbe Add Mobile Phone validation to SpeakerProfile 2014-08-07 14:45:58 +03:00