Add iCal feed widget for dashboard, including template and migration #28
No reviewers
Labels
No labels
Security
TeX
auto-update
board
done
board
ready
board
todo
check
delete-eslint-rc-js
check
update-builddeps-package-json
check
update-eslint-rc-js
check
update-gitignore
check
update-merge-request-template
check
update-prettier-ignore
check
update-pyproject-toml
check
update-renovate-json
check
update-tox-ini
part
backend
part
ci
part
docs
part
frontend
part
i18n
part
non-technical
part
packaging
prio
1
prio
2
prio
3
release-mr-5.x
size
large
size
medium
size
small
source
customer
source
customer::fsmw
source
customer::fss
source
customer::teckids
source
downstream
type
breaking
type
bug
type
feature
type
refactoring
workflow
blocked
workflow
confirmed
workflow
current-todo
workflow
discussing
workflow
new-app
workflow
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aleksis/AlekSIS-App-DashboardFeeds!28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "3-add-feed-widget-for-ical-calendars"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #3
changed milestone to %"2.0a2"
assigned to @nik
date_formatandtiem_formatseem superfluous here, because formatting belongs into templates (and what you use here is the default formatting DJango will apply when simply outputting thedatetimeortimeobjects in a template).Using boolean
noton a string is False if the string is empty or None. This can be a problem when you really want to catch only one of these cases, but if you want both, just use booleannot.Do not use
print. Use a logger if you want to notify the administrator, or the messages system if you want to notify the user through the frontend.Now I see that you are constructing strings later on, so you actually do need the formatted strings here.
changed this line in version 2 of the diff
added 1 commit
3a9f16b7- Apply suggestion to aleksis/apps/dashboardfeeds/util/event_feed.pyCompare with previous version
changed this line in version 3 of the diff
added 2 commits
ce9d1f88- Cache calendar events for 5 minutesd6cf0a8e- Don't print error messages, cache eventsCompare with previous version
https://docs.djangoproject.com/en/3.0/topics/logging/#using-logging
changed this line in version 4 of the diff
added 1 commit
d362bb47- Improve loggingCompare with previous version
According to the recent changes, i think we can resolve the discussions, @ZugBahnHof ?
resolved all threads
changed the description
mentioned in commit
48f82e94a2merged