Commit Graph

242 Commits

Author SHA1 Message Date
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 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