Commit graph

309 commits

Author SHA1 Message Date
Michael Hall
72f6afb1c4 Add test case for searchable deletion 2018-04-17 11:31:47 -04:00
Femi Lamptey
d42272ce63 Refactoring delete_event_searchable
Removed unnecessary code
2018-04-17 15:15:28 +00:00
Femi Lamptey
d124585079 Created function to delete Searchables when event is deleted
Added the function
delete_event_searchable

in events\model\events.py, which deletes the searchable for an event, and called that function in

get_together\views\events.py

in the delete_event function to delete the searchable for the event before deleting the event
2018-04-17 11:47:38 +00:00
Michael Hall
23ab01b374 Rework the new team creation workflow to make it simpler and include a little more instruction. If a user doesn't have a team near them, prompt them to create one instead of showing them an empty homepage. Also impoves some of the instructions around creating a new event. Fixes #55 2018-04-16 21:52:24 -04:00
Michael Hall
7db2bcf356 Use get_object_or_404 to throw 404 errors when a page's primary object isn't found, rather than a 500 error 2018-04-15 17:53:22 -04:00
Michael Hall
eb5fcc9a08 Add templates for 404 and 500 errors. Fixed #66 2018-04-15 17:43:05 -04:00
Michael Hall
54a4bfbadf Fix broken links for setting place on an Event 2018-04-15 16:15:33 -04:00
Michael Hall
b495f81ff8 Fix broken links for setting place on an EventSeries 2018-04-15 16:13:49 -04:00
Michael Hall
f225c75621 Use the GetTogether fork of django-recurrence 2018-04-15 15:47:20 -04:00
Michael Hall
8c43ab394e Allow creating an EventSeries when created an Event by adding a RecurrenceField to the new Event form and generating an EventSeries if it's filled in. Add a management command to auto-create the next event in a Series if the previously created Event's original start_time has passed. Fixes #40 2018-04-15 11:31:12 -04:00
Michael Hall
c63eaa6436 Add EventSeries model to hold recurrence data, implement screens to view, edit and delete Series. Show recurrence rules for events that are part of a Series. 2018-04-14 11:14:40 -04:00
Michael Hall
74ee8e2d31 Start using django-recurrence for Events 2018-04-09 17:06:30 -04:00
Michael Hall
be01304611 Only use Google Place API to change the place name if a google place_id is available 2018-04-08 12:02:23 -04:00
Michael Hall
90a5546df7 Set place name and website from Google Places API when possible 2018-04-08 11:59:53 -04:00
Michael Hall
933d3285a8 Show previously used places on the map when selecting the venue for an event to allow reuse. Fixes #49 2018-04-07 23:03:19 -04:00
Michael Hall
335943c0ff Version bump to 0.3.0 2018-04-05 23:04:58 -04:00
Michael Hall
a5822d4088 Merge branch 'bheesham-feature/35-email-reminders' 2018-04-05 22:50:50 -04:00
Michael Hall
0be7c4b30e Only send reminders for events starting in the next day, add extra tests, and replace get_absolute_url with get_full_url in email templates 2018-04-05 22:50:24 -04:00
Bheesham Persaud
b0b9f273e9 Send event reminder emails. 2018-04-04 01:22:26 -04:00
Michael Hall
a0eed6c3f7 Add virst iteration of a logo and favicon 2018-04-03 22:49:02 -04:00
Michael Hall
5bef56366a Clean up team pages, fix missing created_time stamp on new teams 2018-04-03 22:26:11 -04:00
Michael Hall
4ba3376d19 Use an event's category image for OpenGraph image when available 2018-04-02 22:51:19 -04:00
Michael Hall
2840c3445d Use an event's category image for OpenGraph image when available 2018-04-02 22:49:12 -04:00
Michael Hall
0a1832d026 Add buttons to view all events or all teams when none are found nearby on the homepage. Fixes #58 2018-04-02 22:47:12 -04:00
Michael Hall
d440e5b173 Convert Event start and end times to UTC, display them in local time but store them in UTC. Show ical feeds for the user and teams. Fixes #28, Fixes #59 2018-04-01 22:22:30 -04:00
Michael Hall
2e21c5789e Only try to use city in search form if it has a value 2018-03-26 19:23:12 -04:00
Michael Hall
3d5046e0c4 Improve Lookup field to be more intuitive and show initial value. Move css out of base.html and into new static get_together.css. Fixes #57 2018-03-25 14:40:29 -04:00
Michael Hall
80b6374f4b Allow any logged in user to leave a comment 2018-03-24 00:05:44 -04:00
Michael Hall
0921448ce0 Add django-mptt to dependencies for EventComment 2018-03-24 00:01:36 -04:00
Michael Hall
c0f0519c05 Add event comments, move photos to the sidebar. Fixes #26 2018-03-24 00:00:38 -04:00
Michael Hall
2952a1eb0b Allow the user to toggle between their teams and events, and all teams and events 2018-03-23 18:02:36 -04:00
Michael Hall
84d500e106 Merge branch 'add-common-events' 2018-03-22 00:15:34 -04:00
Michael Hall
3e15d89c43 Add preliminary support for common events and organizations. Fixes #44, Fixes #45 2018-03-22 00:15:09 -04:00
Michael Hall
555ccf3fab Add CommonEvent model 2018-03-20 21:07:23 -04:00
Michael Hall
6228e0e003 Add footer with flatpages links 2018-03-20 19:17:06 -04:00
Michael Hall
96a087f8d6 Make it easier to start creating event without having to navigate to a team page first 2018-03-20 18:35:02 -04:00
Michael Hall
cb968ac81e Add img_url to federation data 2018-03-18 13:13:50 -04:00
Michael Hall
1788b96f54 Key federation imports on the new immutable event_uri field instead of the mutable event_url 2018-03-18 13:12:12 -04:00
Michael Hall
2f9d602973 Include Searchable.event_uri in federated data 2018-03-18 13:08:23 -04:00
Michael Hall
b07417620d Merge branch 'craigmaloney-develop' 2018-03-18 13:03:19 -04:00
Michael Hall
6fe6c69dad Add boostrap styling back to timezone dropdowns 2018-03-18 13:03:04 -04:00
Michael Hall
0df056e6ed Merge branch 'develop' of https://github.com/craigmaloney/GetTogether into craigmaloney-develop 2018-03-18 12:57:12 -04:00
Michael Hall
453d4cb7d9 Fix typo causing upcoming events to not be displayed 2018-03-18 12:49:43 -04:00
Michael Hall
037dd7f3b5 Add the 5 most recent past events to a team's page 2018-03-18 12:48:03 -04:00
Michael Hall
4ceb57e788 Add details to EventPhoto admin screen 2018-03-18 12:37:23 -04:00
Michael Hall
9befdc9377 default to avatar placeholder if avatar has a value but no name 2018-03-18 12:30:26 -04:00
Michael Hall
97de26ea85 Add a placeholder local avatar image for users who don't set one. Fix screens where a missing avatar caused errors. Fixes #53, Fixes #50 2018-03-18 12:26:32 -04:00
Michael Hall
39719c5896 Only show photo upload button if user can upload photos to the event 2018-03-17 17:41:15 -04:00
Michael Hall
fc198115e7 Add ability to upload photos to an event 2018-03-17 17:37:56 -04:00
Michael Hall
9d51251031 Move MEDIA_URL and MEDIA_ROOT from the bottom of settings.py 2018-03-17 16:31:15 -04:00