1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00
Commit Graph

51 Commits

Author SHA1 Message Date
d838f53d93 Merge branch 'svg_icons' into 'main'
Draft: Replace Font Awesome with inline SVG icons

See merge request bde/nk20!188
2024-07-20 04:56:39 +02:00
925e0f26f5 Allow you to delete the profile picture 2024-07-13 17:37:19 +02:00
d81b1f2710 Tweaked trust back display 2023-09-01 17:15:24 +02:00
4fb0b7d736 First pass on a display of users trusting you, added a corresponding right 2023-09-01 17:15:13 +02:00
40e7415062 Added translations for friendships 2022-04-13 12:30:22 +02:00
319405d2b1 Added a message to explain what frendships do
Signed-off-by: Nicolas Margulies <nicomarg@crans.org>
2022-04-13 12:30:22 +02:00
442a5c5e36 First proro of trusting, with models and front, but no additional permissions 2022-04-13 12:30:22 +02:00
466cbd9878 Replace Font Awesome with inline SVG icons
Font Awesome 4 adds 106kB of dependencies on each page and require to
query multiple assets. It also sometimes causes icons to appear after
page loading. Font Awesome 4 is deprecated and replaced by version 5
which is not packaged in every GNU/Linux distributions.

This commit replaces icons with inline SVG which does not require
external assets, does not require an additionnal dependency and is
widely supported by modern browsers. It makes the page loading faster
and enables us to no longer require fonts-font-awesome Debian package.
2021-10-06 17:15:33 +02:00
391f3bde8f Fix permission to see note balance when we can't see profile detail (e.g. for note account)
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-09-06 11:56:56 +02:00
9b26207515 Rework templates for OAuth2
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-09-02 20:59:43 +02:00
3a20555663 Unit tests for API pages, closes #83
Signed-off-by: Yohann D'ANELLO <yohann.danello@gmail.com>
2020-12-23 14:54:21 +01:00
fe4363b83d Don't display too much detail when a user has no right to see a profile 2020-10-25 21:29:44 +01:00
cb7f3c9f18 Note account can manage BDE memberships 2020-10-23 16:42:06 +02:00
bcd96b2ed8 The BDE membership and the club membership must now be in two parts 2020-09-18 12:35:36 +02:00
180cd3e1ec Fix registration permissions and procedure 2020-09-14 09:49:30 +02:00
4a9c37905c Fix alias count on club info 2020-09-06 21:54:12 +02:00
eb4641ed35 Upload button wasn't translated 2020-09-06 12:35:59 +02:00
15ed9d81d5 Check image size before sending it 2020-09-06 12:16:36 +02:00
43fffdf56f Merge branch 'traduction' into beta 2020-09-03 23:48:39 +02:00
bf7f5b9cd6 Test and cover fully member app 2020-09-02 22:54:01 +02:00
6a2b46be72 make API token button nicer 2020-09-02 19:16:08 +02:00
5feb23ad51 Use Debian font awesome 2020-09-01 14:33:38 +02:00
534831f380 Use buttons in profile page 2020-09-01 10:30:47 +02:00
dd9ca315fa Clean up templates header 2020-09-01 10:20:16 +02:00
d9e003a8f4 Remove contenttitle 2020-09-01 10:13:05 +02:00
5e65e2d74a Add "Lock note" feature 2020-08-31 20:15:48 +02:00
805ceda249 Don't display the alias create form if the user can't create anyone 2020-08-30 23:06:51 +02:00
4cb162de87 Card for wei templates 2020-08-25 18:36:49 +02:00
1fd37bb1ce Smaller membership renew btn 2020-08-25 16:44:01 +02:00
e3785e11f1 Cards everywhere in member app 2020-08-25 16:30:02 +02:00
2e659c63cd Member templates inherit from member/base.html 2020-08-25 15:39:57 +02:00
63dc184ce4 Do not list alias on profile page 2020-08-25 15:05:50 +02:00
e14c8734c2 Template formating on member app 2020-08-23 14:21:31 +02:00
44b7fe8f52 List aliases on profile page 2020-08-23 12:07:04 +02:00
cbc3e39bd6 Create base template for member and wei 2020-08-23 10:06:16 +02:00
1c16d6ef18 Use block.parent to extend content 2020-08-23 09:56:42 +02:00
0ba77fb8f0 Make alias form a bit more HTML friendly 2020-08-23 00:33:36 +02:00
342d3910c7 Set fluid container on parent template 2020-08-23 00:03:10 +02:00
2c1cf148fa Remove alias_update.html 2020-08-22 23:55:22 +02:00
9cad8fcc65 Simplify future user search 2020-08-22 10:13:48 +02:00
8465b24d7d Use base search for club list 2020-08-21 23:20:45 +02:00
aa98c4848d Create base template for search page 2020-08-21 23:11:25 +02:00
83d2c18d1e Debounce user search 2020-08-21 19:12:28 +02:00
5ea1eed76d Password reset use cards 2020-08-21 18:34:20 +02:00
430036bfc2 Don't display "change password" button on other profile pages 2020-08-15 20:59:45 +02:00
d6fd925fdd Display email and phone number in profile page 2020-08-15 20:40:11 +02:00
75cd34f5dd Enlarge buttons table and transactions table 2020-08-15 20:04:19 +02:00
c466715e8a Raise permission denied on CreateView if you don't have the permission to create a sample instance, see #53 2020-08-13 15:20:15 +02:00
c612e159cf See user information does not imply see the note balance 2020-08-10 16:32:45 +02:00
beff848796 Use a fixed-width container by default for lisibility 2020-08-10 12:08:47 +02:00