imperosol
b9aa07646a
reuse last PageRev if same author and short time diff
2025-11-11 15:13:45 +01:00
imperosol
8819abe27c
Custom 404 for Page
2025-11-11 15:13:44 +01:00
imperosol
30e76a5e39
move page templates to their own folder
2025-11-11 15:13:44 +01:00
imperosol
d50bb0d9b1
remove dead code
2025-11-11 15:13:44 +01:00
imperosol
acb6c6ce9c
fix: N+1 query on PageListView
2025-09-22 18:14:14 +02:00
imperosol
ce2ef78a6d
fix: 500 on page properties edit
2025-09-21 16:01:17 +02:00
imperosol
37961e437b
fix: N+1 queries on PageListView
2025-09-04 17:39:17 +02:00
imperosol
d16237d015
make PageCreateView a PermissionRequiredMixin
2025-03-13 18:49:42 +01:00
imperosol
0c01ad1770
Move core auth mixins to their own file
2025-01-13 15:45:55 +01:00
imperosol
d200c1e381
fix 500 error when accessing history of non-existing page
2024-12-28 13:25:42 +01:00
klmp200
f78b968075
Move markdown input and select widgets to a widget folder
2024-10-20 01:05:34 +02:00
thomas girod
d16a207a83
Add more Ruff rules ( #891 )
...
* ruff: apply rule F
* ruff: apply rule E
* ruff: apply rule SIM
* ruff: apply rule TCH
* ruff: apply rule ERA
* ruff: apply rule PLW
* ruff: apply rule FLY
* ruff: apply rule PERF
* ruff: apply rules FURB & RUF
2024-10-15 11:36:26 +02:00
klmp200
9c93162741
Add missing files
2024-09-23 10:25:27 +02:00
klmp200
6068c6048a
Use real name of the website once again
2024-09-23 01:37:25 +02:00
thomas girod
cfc19434d0
ruff rules UP008 and UP009
2024-07-08 15:37:09 +02:00
thomas girod
3143d3d91a
reorganize imports with ruff
2024-06-26 12:35:38 +02:00
Julien Constant
b30ee0a27a
[FIX] Correction de bugs ( #617 )
...
* Fix #600
* Fix #602
* Fixes & améliorations du nouveau CSS (#616 )
* Fix #604
* should fix #605
* Fix #608
* Update core/views/site.py
Co-Authored-By: thomas girod <56346771+imperosol@users.noreply.github.com >
* Added back the permission denied
* Should fix #609
* Fix failing test when 2 user are merged
* Should fix #610
* Should fix #627
* Should fix #109
Block les URLs suivantes lorsque le fichier se trouve dans le dir `profiles` ou `SAS` :
- `/file/<id>/`
- `/file/<id>/[delete|prop|edit]`
> Les urls du SAS restent accessiblent pour les roots & les admins SAS
> Les urls de profiles sont uniquement accessiblent aux roots
* Fix root dir of SAS being unnaccessible for sas admins
⚠️ need to edit the SAS directory & save it (no changes required in sas directory properties)
* Remove overwritten code
* Should fix duplicated albums in user profile (wtf)
* Fix typo
* Extended profiles picture access to board members
* Should fix #607
* Fix keyboard navigation not working properly
* Fix user tagged pictures section inside python rather than in the template
* Update utils.py
* Apply suggested changes
* Fix #604
* Fix #608
* Added back the permission denied
* Should fix duplicated albums in user profile (wtf)
* Fix user tagged pictures section inside python rather than in the template
* Apply suggested changes
---------
Co-authored-by: thomas girod <56346771+imperosol@users.noreply.github.com >
2023-05-02 13:07:36 +02:00
Julien Constant
8e7c025e47
[FIX] Broken link in readme and license fix (& update) ( #591 )
2023-04-04 18:39:45 +02:00
klmp200
2616e8b24c
django2.2: relpace django.core.urlresolvers by django.urls
2019-10-08 22:46:01 +02:00
klmp200
cb58b00b6e
All: Apply Black coding rules
2018-10-05 21:52:55 +02:00
klmp200
4369d9f593
Found a way to avoid strange error for club page
2017-10-06 17:44:41 +02:00
klmp200
baa7be69e4
Better integration of wiki pages on clubs
2017-10-06 11:09:31 +02:00
klmp200
fe69cbcee1
Add page for clubs and inactive clubs
2017-10-06 11:09:29 +02:00
krophil
e7de8b2aec
Format core
2017-06-13 10:04:13 +02:00
Skia
2925cde8ab
Add a MarkdownInput widget, and make use of it
...
Signed-off-by: Skia <skia@libskia.so >
2017-06-10 19:40:47 +02:00
Skia
83deae5964
Apply GPLv3 to Sith, and add header to every concerned file
2017-04-24 17:51:12 +02:00
klmp200
95f984824a
Fix accents in wiki page name and allow to delete a page
2017-03-08 14:11:56 +01:00
Skia
81e11b4c33
Refactor Can*Mixin
2016-12-14 18:05:30 +01:00
Skia
59f5917b8c
Fix Page locking
2016-11-05 13:37:39 +01:00
Skia
792d66da33
Add nice whole file support
2016-08-10 05:48:06 +02:00
Skia
4d8e7b0875
Improve launderette, need to finish the click view
2016-08-01 16:36:16 +02:00
Skia
356a2d2683
Refactor page handling
2016-05-31 13:00:52 +02:00
Skia
a14d940db2
Some refactoring and misc improvements
2016-02-05 16:59:42 +01:00
Skia
03bc0973fe
WIP: Move to Jinja2
2016-02-01 17:35:55 +01:00
Skia
376b5101c1
Add docstring to PageRev
2015-12-09 11:22:50 +01:00
Skia
475bff14cb
Refactor rights handling
2015-12-08 11:10:29 +01:00
Skia
f17fb6e466
Add lock handling in Wiki
2015-12-02 16:43:40 +01:00
Skia
92f68f5b42
Add complete revision and history handling in the wiki
2015-12-02 11:09:50 +01:00
Skia
80926dd4ac
Revert "Begin a PageRevision implementation, but this breaks currently everything!"
...
This reverts commit 979fc7bcb7 .
2015-11-30 13:04:46 +01:00
Skia
979fc7bcb7
Begin a PageRevision implementation, but this breaks currently everything!
2015-11-27 16:40:16 +01:00
Skia
5c9e5a24ab
Implement generic right checking for any View with the right parents
2015-11-27 15:39:42 +01:00
Skia
b19ec084b6
Basic group view and permissions management on the pages
2015-11-26 17:40:31 +01:00
Skia
385f91a9db
Add a missing template
2015-11-26 11:27:52 +01:00
Skia
b237cdbaae
Refactor page view with Django's black magic powered DetailView&co
2015-11-25 14:45:18 +01:00
Skia
d72b18c120
Add basic page view permission, not really working
2015-11-25 10:29:25 +01:00
Skia
18115a0dc4
Put view into a module
2015-11-24 16:09:46 +01:00