Commit Graph

432 Commits

Author SHA1 Message Date
Petko Bordjukov cb7b01e7db Optimise the Travis build matrix
Make sure Travis starts its build from the newest Ruby version and allow
failures on older Ruby versions. Also specify the fast_finish directive
that instructs Travis to mark the build as successful/failed when all
builds with Rubies that are not allowed to fail are complete.
2015-07-19 16:23:37 +03:00
Petko Bordjukov 33264bd9f1 Merge pull request #18 from ignisf/use-container-based-travis
Use the new container-based infrastructure on Travis
2015-07-19 15:02:35 +03:00
Petko Bordjukov 9766034c78 Merge pull request #17 from ignisf/update-bundle
Bump Rails to 4.2.3 and update the bundle
2015-07-19 15:02:26 +03:00
Petko Bordjukov 8d744299ab Merge pull request #16 from ignisf/scoped-events
Scope event operations to the current conference
2015-07-19 15:02:16 +03:00
Petko Bordjukov 1a662d4c4c Merge pull request #15 from ignisf/remove-slugs
Remove failing slugs migration
2015-07-19 15:02:03 +03:00
Petko Bordjukov d381b800c4 Add associations to Track and Conference to Event 2015-07-19 14:32:25 +03:00
Petko Bordjukov d7a3a28198 Use the new container-based infrastructure on Travis
Also add Ruby 2.2.2 to the list of rubies
2015-07-19 14:18:43 +03:00
Petko Bordjukov f2a6d788dd Bump Rails to 4.2.3 and update the bundle 2015-07-19 14:16:15 +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
Petko Bordjukov a85c2c4403 Remove failing migration
The CreateSlugsForExistingConferences migration was failing and is also
negated by the following RemoveSlugsFromConferences migration.
2015-07-19 13:58:08 +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 798ffd8a39 TODO 2015-07-14 21:00:51 +03:00
Andrew Radev 4963c74925 Initial events CRUD 2015-07-14 21:00:02 +03:00
Andrew Radev f173f42834 Merge pull request #14 from ignisf/conference-slug-in-url
Put current conference in url
2015-07-12 11:32:03 +03:00
Andrew Radev 08bbd1ffa1 Fix migration that fails in build 2015-07-12 11:22:19 +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 1bbebb54d3 Notes 2015-05-30 19:00:51 +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 58354f66b2 TODO 2015-05-30 15:29:00 +03:00
Petko Bordjukov 83c6b12d8b Update Devise configuration after update to 3.5.1
The most notable change is the reduction of the maximum length of the
passwords. See Devise's CHANGELOG.md for more information:

https://github.com/plataformatec/devise/blob/master/CHANGELOG.md#351---2015-05-24
2015-05-30 14:37:16 +03:00
Petko Bordjukov dfb2d1e793 Update the bundle
Notable updates - Phony and Devise
2015-05-30 14:36:55 +03:00
Petko Bordjukov 923fd02d62 Drop the ruby-version file 2015-05-30 14:07:43 +03:00
Andrew Radev 470da00dec Notes 2015-05-25 11:43:44 +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 56995a8dec Raise errors in after_ callbacks 2015-05-25 11:40:58 +03:00
Andrew Radev c3f17592bc Delete users 2015-05-25 11:29:22 +03:00
Andrew Radev 8921b6464a Create CFP records for existing Conference records 2015-05-24 16:12:06 +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 574b6ec194 Introduce an administrator factory
Just a factory that handles users with an admin flag
2015-05-24 01:17:41 +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 c304e558ac Notes 2015-04-29 12:01:29 +02:00