Resolve "Dashboard" #1745
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aleksis/AlekSIS-Core!1745
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "30-dashboard"
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?
changed the description
added 1 commit
d1606ab4- Add basic view and template for dashboard.Compare with previous version
We shouldn't include that in AlekSIS.
Finish translation.
changed this line in version 2 of the diff
added 1 commit
d0fc5044- Remove superflous stuff from dashboard.Compare with previous version
added 1 commit
c651ef22- Make strings translatable.Compare with previous version
resolved all threads
added 30 commits
master9b99b876- Add function to mark notifications as read.f1f890f5- Merge branch 'master' into 30-dashboardCompare with previous version
changed this line in version 5 of the diff
added 2 commits
0c7d5a4f- Fix way for marking notifications as read3ad44c4d- Update dashboard templateCompare with previous version
added 5 commits
masterece7161e- Merge branch 'master' into 30-dashboard5b444ff9- Update dashboard views to use person model instead of user modelCompare with previous version
added 1 commit
1b484b4b- Fix view if person is not authenticated.Compare with previous version
added 1 commit
d5b47039- Add login_required to dashboard in order to show login page if not authenticatedCompare with previous version
@debdolph @nik I think we can merge this request. The other dashboard features can be added later.
Everything works fine with the dashboard. Maybe @nik can take a quick look and merge this MR after review.
added 18 commits
master224420bd- Merge branch 'master' into 30-dashboard1741b6cf- Merge branch '30-dashboard' of edugit.org:AlekSIS/AlekSIS into 30-dashboardb8617090- Merge branch 'master' into 30-dashboardCompare with previous version
unmarked as a Work In Progress
Unrelated change - also, it seems the overriding of thepage title from sub-templates has gone missing somewhere... Please open a new issue for that so we remember it beore resolving this thread.
This should be ENglish and more general.
The ordering should be the default for the model. Please move it to its Meta definition. Also, what is wrong with
request.user.person.activitiesinstead of this query?Lastly, please note that you need to check whether the user is actually linked to a person before using the
.personrelation.If you use this renaming, please use the short name in all places later. Or remove this and use explicit
request.usereverywhere.changed this line in version 10 of the diff
added 1 commit
deec0fe5- Apply suggestion to aleksis/core/views.pyCompare with previous version
The
.filter()does not make sense as you are operating on the relation onPersonnayway. For theorder_by, please see above.See above.
See above.
created #146 to continue this discussion
mentioned in issue #146
Only admins are able to mark notifications as read?
This function is insecure. It allows everyone (assuming the
admin_requiredis wrong) to mark everyone's notifications as read. You need to check that the notification to act upon is related to the user calling the view.removed milestone
changed this line in version 11 of the diff
changed this line in version 11 of the diff
changed this line in version 11 of the diff
changed this line in version 11 of the diff
changed this line in version 11 of the diff
changed this line in version 11 of the diff
added 1 commit
Compare with previous version
added 1 commit
ab4a07b8- Improve code of dashboard.Compare with previous version
resolved all threads
Please make this thread translatable.
assigned to @nik
Please throw a matching HTTP error instead.
changed this line in version 13 of the diff
changed this line in version 13 of the diff
added 1 commit
ea317c6a- Make strings translateable.Compare with previous version
resolved all threads
changed this line in version 14 of the diff
added 1 commit
ad3a5f45- Raise exception.Compare with previous version
merged
mentioned in commit
227d1a6b88