Commit Graph

346 Commits

Author SHA1 Message Date
Petko Bordjukov abf6594b31 Return the user id for speakers 2015-10-17 23:34:35 +03:00
Petko Bordjukov 536c139e84 Add color to tracks in the API 2015-10-17 19:47:15 +03:00
Petko Bordjukov 92cef2b07e We reach the slots through the halls 2015-10-17 19:34:17 +03:00
Petko Bordjukov a9803853c0 Change the api format to a set 2015-10-17 18:26:21 +03:00
Petko Bordjukov fa50438acd Speaker profile 2015-10-15 20:06:46 +03:00
Petko Bordjukov cc02c7c253 Initial event show view 2015-10-15 19:51:10 +03:00
Petko Bordjukov 0c936c3ff0 Optimize event query 2015-10-15 19:12:56 +03:00
Petko Bordjukov 646d61bb22 Event status management 2015-10-15 19:06:41 +03:00
Petko Bordjukov 60d84ffc7c Add a halfnarp-friendly version of the events API 2015-10-08 02:54:16 +03:00
Petko Bordjukov bf278693b3 Add a simple JSON API 2015-10-08 02:34:19 +03:00
Petko Bordjukov 82d44e79a7 Slim down the Api::EventsController#index 2015-10-08 01:46:21 +03:00
Petko Bordjukov 901a15f064 Export info for the event type, too 2015-10-05 15:29:22 +03:00
Petko Bordjukov 5ecafd9573 Introduce a rudimentary JSON export of events 2015-10-05 15:24:37 +03:00
Petko Bordjukov ceaac3a9eb Open up the volunteer team list to the public 2015-09-12 13:48:41 +03:00
Petko Bordjukov b9c4670f17 User-facing volunteership functionality 2015-09-12 13:48:41 +03:00
Petko Bordjukov 58bb65a848 Destroy participations on event destruction 2015-09-03 23:16:39 +03:00
Petko Bordjukov 098d36c197 Introduce Volunteer Teams 2015-09-01 11:09:26 +03:00
Petko Bordjukov 4794e0ba02 Fix language of existing events 2015-08-21 20:05:00 +03:00
Petko Bordjukov 1b07344efb Actually send an email when a proposition is created 2015-08-20 01:45:57 +03:00
Petko Bordjukov 4d7b3aea6c Basic proposition creation mailer 2015-08-20 01:42:35 +03:00
Petko Bordjukov 6c8b0c304b Quick fix for proposition listing 2015-08-20 00:55:47 +03:00
Petko Bordjukov 167030f90d Specify correct default values for events 2015-08-20 00:33:13 +03:00
Petko Bordjukov a87c7bd496 Add event length limitations 2015-08-20 00:24:22 +03:00
Petko Bordjukov f14c3bc665 Make sure the picture is copied with the new profile 2015-08-19 23:55:22 +03:00
Petko Bordjukov d2a606956c Make sure the events create a proposition with an undecided status 2015-08-15 17:03:08 +03:00
Petko Bordjukov 2609184a94 Update translations 2015-08-15 10:04:03 +03:00
Petko Bordjukov 4d9432c76c Limit the displayed events to the current conference 2015-08-15 09:04:57 +03:00
Petko Bordjukov 59c9f79d13 Event editing 2015-08-15 08:52:41 +03:00
Petko Bordjukov 2838f81327 Streamline profile/registration editing 2015-08-15 08:03:11 +03:00
Petko Bordjukov 2ef85a6d19 Sign in users as soon as they confirm their email 2015-08-15 07:39:43 +03:00
Petko Bordjukov 5cf2fc4ab1 Update locale for signed in users 2015-08-15 07:20:20 +03:00
Petko Bordjukov b008f87684 Store the locale upon user registration 2015-08-15 07:14:49 +03:00
Petko Bordjukov 44612e1d52 Redirect to personal profile creation after event creation 2015-08-15 07:00:34 +03:00
Petko Bordjukov df4ffebd61 Use the host_name field to determine which conference to assign 2015-08-15 06:15:53 +03:00
Petko Bordjukov 70a5bbc27a Add a host_name field to Conference 2015-08-15 06:15:49 +03:00
Petko Bordjukov f7737f0e8e Introduce Public::HomeController 2015-08-15 06:00:07 +03:00
Petko Bordjukov 65133515dc Fix Devise views 2015-08-15 05:59:46 +03:00
Petko Bordjukov 6c9bdf0cec Add initfest views and assets 2015-08-15 04:33:02 +03:00
Petko Bordjukov f47cbd02a3 Change parameters in Devise parameter sanitizer 2015-08-15 03:54:02 +03:00
Petko Bordjukov 6dfcac3131 Introduce Public controllers 2015-08-15 03:43:41 +03:00
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
Vasil Kolev 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