-
Notifications
You must be signed in to change notification settings - Fork 52
Feat: Event View Backend #159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
yammesicka
merged 27 commits into
PythonFreeCourse:develop
from
OdeYec:event_view_backend
Feb 1, 2021
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
835faf7
Moved the route to top of file
OdeYec 3141482
refractor!: by_id to get_event_by_id
OdeYec 973415c
fix: changed delete_event to match new get_event_by_id
OdeYec 70704de
feat: improved eventview's get endpoint
OdeYec 60bdf78
refractor: moved logger from main to dependencies
OdeYec 6d0182c
refractor: event_test_client to use create_test_client
OdeYec ec1ebb7
ui: changed static placeholders to actual event data
OdeYec 9b8200c
fix: added exception handling
OdeYec d1e786d
fix: changed error code in test
OdeYec 4b1a735
fix: changed update_event to fit new get_event_by_id
OdeYec 7487a91
refactor: lint fix
OdeYec f4f8e8e
refactor: minor fixes
OdeYec f42f0c5
fix: split exception catching to raise more accurate HTTP Exceptions
OdeYec d47b925
refractor: lint fixes
OdeYec 50442a2
refractor: lint fixes
OdeYec 76983d4
Merge branch 'develop' into event_view_backend
yammesicka 7cf4660
refractor: fixed conflicts
OdeYec e91025d
Merge remote-tracking branch 'origin/event_view_backend' into event_v…
OdeYec 4558f11
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
OdeYec 2ab3c3d
changed eventview route to /{event_id}/
OdeYec 5d9ce54
changed eventview route to /{event_id}/
OdeYec 8e4a25c
fix: added back some exception handling to delete_event
OdeYec 3a07c2d
refractor: lint will be the death of me
OdeYec 3689be9
refractor: lint fixt
OdeYec 0e43d44
fix: added back some exception handling to delete_event
OdeYec d87244a
refractor: lint will be the death of me
OdeYec d78df37
Merge remote-tracking branch 'origin/event_view_backend' into event_v…
OdeYec File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,30 @@ | ||
<div class="event_info_row title"> | ||
<div class="event_info_row title" style="border-bottom: 4px solid {{event.color}}"> | ||
<div class="event_info_row_start"> | ||
<h1>EVENT TITLE</h1> | ||
<h1>{{event.title}}</h1> | ||
</div> | ||
<div class="event_info_row_end"> | ||
<span class="icon">AVAILABILITY</span> | ||
<span class="icon">PRIVACY</span> | ||
<!-- <span class="icon">AVAILABILITY</span>--> | ||
<!-- <span class="icon">PRIVACY</span>--> | ||
</div> | ||
</div> | ||
<div class="event_info_row"> | ||
<span class="icon">ICON</span> | ||
<time datetime="DD/MM/YYYY HH:MI">DAY, DD/MM/YYYY HH:MI</time> | ||
<time datetime="{{event.start}}">{{event.start.strftime(start_format)}}</time> | ||
- | ||
<time datetime="DD/MM/YYYY HH:MI">HH:Mi</time> | ||
<time datetime="{{event.end}}">{{event.end.strftime(end_format)}}</time> | ||
</div> | ||
|
||
<div class="event_info_row"> | ||
<span class="icon">ICON</span> | ||
<span>Repeats every INTERVAL</span> | ||
</div> | ||
<!--<div class="event_info_row">--> | ||
<!-- <span class="icon">ICON</span>--> | ||
<!-- <span>Repeats every INTERVAL</span>--> | ||
<!--</div>--> | ||
|
||
OdeYec marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<div class="event_info_row"> | ||
<span class="icon">ICON</span> | ||
<address>LOCATION / <a href="#">VC URL</a></address> | ||
<address>{{event.location}}</address> | ||
<!-- <address>LOCATION / <a href="#">VC URL</a></address>--> | ||
</div> | ||
|
||
<p class="event_info_row"> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus consectetur quis ex ac molestie. Fusce libero | ||
ligula, dictum ac sollicitudin sed, consequat in nisi. Suspendisse feugiat diam quis efficitur aliquet. Duis purus | ||
mauris, luctus ultrices dictum id, fermentum et ex. Nunc in elementum mauris. Maecenas at tincidunt lorem. Sed quis | ||
ante commodo, tincidunt tortor at, tristique nisl. Donec at velit ultricies, viverra tellus at, ultrices ligula. | ||
{{event.content}} | ||
</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.