Commit graph

2495 commits

Author SHA1 Message Date
TheAssassin
6dea37ec41 Add missing environment variable 2017-07-09 21:38:43 +02:00
TheAssassin
13d6bf471d Wait for database to be started before running MySQL client command 2017-07-09 21:38:43 +02:00
TheAssassin
ad9ef4aba3 Fix secret key generation 2017-07-09 21:38:43 +02:00
TheAssassin
b5ca626873 Fix Git ignores 2017-07-09 21:38:43 +02:00
TheAssassin
dd993b7448 Fix issue mentioned in osem/pull/1407
After the rebase (to update the PR with the latest changes), I had the
same issue @lguerard has had. I noticed that the rails server didn't
lisen on all interfaces any more, but bound the port to the loopback
device only. By adding the parameter `-b 0.0.0.0`, I restored the
previous behavior, and OSEM could be reached with the browser after it
started up (takes a few seconds).
2017-07-09 21:38:43 +02:00
TheAssassin
c592a19f2d Use rails secret to generate the secret key 2017-07-09 21:38:43 +02:00
TheAssassin
d7765bf4fd Update ignores 2017-07-09 21:38:43 +02:00
TheAssassin
769643a642 Remove MySQL config file again as soon as possible 2017-07-09 21:38:43 +02:00
TheAssassin
28d9ac9b1f Switch to built in rails server 2017-07-09 21:38:43 +02:00
TheAssassin
2c3c070f7e Update Docker docs 2017-07-09 21:38:43 +02:00
TheAssassin
9402eb36d8 Add beginner guide for deploying OSEM with Docker 2017-07-09 21:38:43 +02:00
TheAssassin
8229cca1e8 Add missing dependency to Dockerfile 2017-07-09 21:38:43 +02:00
TheAssassin
f15fe9ddb0 Docker support for production use
This commit adds a Docker infrastructure that is ready for production
use. It is meant to simplify the deployment of OSEM for everyone who
wants to host their own instances.

It includes many features like data persistence, automatic secret key
generation and persistence and automatic database initialization and
upgrading. This should make updating the Docker container as easy as
possible.
2017-07-09 21:38:43 +02:00
shlok007
b33e9ed28e fix revision count and drop observers 2017-07-09 03:36:57 +05:30
shlok007
518ecc3d4e rebuild schema.rb for sqlite3 2017-07-09 01:57:44 +05:30
shlok007
9c6286182e caching comment counts 2017-07-09 01:57:44 +05:30
Hernán Schmidt
89840d0bab Merge pull request #1573 from openSUSE/fix-schema
Fix schema.rb
2017-07-08 19:28:50 +02:00
Hernán Schmidt
1ba797bead Fix schema.rb
In #1570, db/schema.rb got broken, as the version was not updated.
2017-07-08 18:45:38 +02:00
Ana María Martínez Gómez
815b9e6e14 Merge pull request #1570 from siddhantbajaj/ticket-layout
[WIP] Make ticket layout configurable
2017-07-07 15:23:47 +02:00
siddhantbajaj
4c957a8b17 Updated Paper Trail 2017-07-07 14:22:02 +05:30
siddhantbajaj
dd52a9b2ab Make ticket layout configurable
Added option for conference organizer to switch between ticket layouts (horizontal or vertical). Added test for the same.
2017-07-07 14:19:51 +05:30
Ana María Martínez Gómez
e25de318bd Merge pull request #1559 from siddhantbajaj/purchase-index
[WIP] Ticket Purchase Index Page
2017-07-06 09:28:32 +02:00
Ana María Martínez Gómez
570fec5a9f Merge pull request #1539 from siddhantbajaj/PdfTicket
Sample prototype for ticket pdf
2017-07-06 09:06:33 +02:00
siddhantbajaj
a327d2cbd2 Ticket Purchase Index Page
List all the unpaid ticket purchases of the user for that conference and allow user to pay for them.
2017-07-06 02:46:53 +05:30
L11
2cc97a92f5 Remove duplicated label - target/form 2017-07-05 18:39:29 +03:00
siddhantbajaj
72537ba2a8 Fixed user abilities in Physical Ticket 2017-07-05 16:39:31 +05:30
siddhantbajaj
b9a540f4e2 Sample prototype for ticket pdf
Added verticl layout of ticket pdf without QR code.
2017-07-05 16:39:31 +05:30
AEtherC0r3
95fbd10153 Friendly urls for tracks
Don't use tracks ids in urls
Add short_name to tracks and use that in urls as the identifier
2017-07-04 20:42:10 +03:00
Shlok Srivastava
882a1d20c9 Merge pull request #1538 from shlok007/org-admins-backend
Introduce organization admins
2017-07-04 19:57:26 +05:30
Hernán Schmidt
85a021ef05 Merge branch 'master' into org-admins-backend 2017-07-04 15:30:30 +02:00
Moisés Déniz Alemán
eb9d799f23 Merge pull request #1558 from siddhantbajaj/admin-ticket
[WIP] Allow admin to show/generate ticket
2017-07-04 10:04:42 +02:00
shlok007
7d472f2ad5 fix failing tests 2017-07-04 05:55:41 +05:30
siddhantbajaj
6b3a6fa967 Fixed ticket_sold method of ticket model 2017-07-03 06:17:32 +05:30
siddhantbajaj
3d4adb5683 Allow admin to show/generate ticket
Created physical ticket controller and views for admin.
2017-07-03 06:17:27 +05:30
shlok007
f68fd39095 fixed abilities for conference#new and organization#new 2017-07-03 04:17:06 +05:30
shlok007
d59a036cf1 removed unnecessary comments and fixed grammatical errors 2017-06-30 09:27:19 +05:30
shlok007
651abcab87 split feature tests for abilities and suggested changes 2017-06-30 09:18:17 +05:30
shlok007
3daa12f83f fix tests for cfps after rebase 2017-06-28 08:22:44 +05:30
shlok007
21b2e5466f refactor features/ability_spec and increase test coverage for organization 2017-06-28 07:28:11 +05:30
shlok007
7d408ee33c suggested changes
change description of organization_admin
remove assign_role callback
2017-06-28 06:55:30 +05:30
shlok007
8839a928ed mending failing tests 2017-06-28 06:55:30 +05:30
shlok007
ad3d6f2f95 modify admin/conference_controller_spec and not authorized error messages 2017-06-28 06:55:30 +05:30
shlok007
aa3df0243e mending permissions and test 2017-06-28 06:55:30 +05:30
shlok007
b72e64b238 Introduce organization admins 2017-06-28 06:55:30 +05:30
AEtherC0r3
f37d3095e1 Rework cfp abilities 2017-06-27 21:16:46 +03:00
AEtherC0r3
5f3b48c9f7 Update shoulda-matchers to 2.8 2017-06-27 21:16:46 +03:00
AEtherC0r3
a1124546f1 Fix rspec tests because of the changes to the cfp
Remove redundant association
Note: a conference created with :full_conference already has a cfp
2017-06-27 21:16:46 +03:00
AEtherC0r3
2bff918556 Add index view for the cfp and modify existing ones
Add cfp_type to the form partial
Refactor Cfps#show to use partials for the different cfp types
Modify the rest of the view, where the cfp was used
2017-06-27 21:16:46 +03:00
AEtherC0r3
c3eb178546 Modify CFP to accept proposals for other things
Add field cfp_type and relevant validations
Add Program#cfp to preserve backwards compatibility
Add 'for_events' scope to the cfp, in order for it to be used like
program.cfps.events
Add useful methods
Add rspec test for the new code
The supported cfp types can be viewed via Cfp::TYPES
2017-06-27 21:16:46 +03:00
Dimitris
7fd738bc7d Add option to render html at format_helper 2017-06-27 18:30:26 +03:00