David Larlet
0e5cdec97e
fix: better buttons positionning for the homepage
2025-01-30 10:16:09 -05:00
Yohan Boniface
96895feea0
fix: display current configured oauth as icon instead of text ( #2375 )
...
Before:

After:

2025-01-30 11:03:21 +01:00
Yohan Boniface
359b0b41ca
chore: make djlint happy
2025-01-30 09:45:56 +01:00
Yohan Boniface
a3baf82b7b
chore(templates): use images for oauth providers list
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-01-27 19:04:13 +01:00
Yohan Boniface
b88a0cc49f
wip: internalize FormBuilder and move to module
2025-01-07 18:07:14 +01:00
David Larlet
dc85b2461f
chore: lint templates
2024-12-23 12:29:35 -05:00
David Larlet
f69e8217cb
chore: better wording and style for the 403 page
2024-12-23 10:44:34 -05:00
David Larlet
aedc26fe6d
docs: add English documentation for map statuses
...
Refs #2390
2024-12-23 10:28:24 -05:00
Yohan Boniface
ddddf4ece3
wip: add a 403.html template
2024-12-23 15:58:11 +01:00
Yohan Boniface
6db3032bdb
fix: do not autoescape static tag
...
When using django-storage S3, this will escape the final static URL,
containing query string (so & will become &).
2024-12-17 13:07:46 +01:00
Yohan Boniface
bf631f07de
fix: display current configured oauth as icon instead of text
2024-12-17 11:44:13 +01:00
Yohan Boniface
71389edca7
chore: move popup related CSS to a separate file
2024-12-11 16:08:29 +01:00
Yohan Boniface
f6f42f5e6b
chore: move form css to a separate file
2024-12-02 17:07:06 +01:00
David Larlet
1073fe6142
Better login page styles and incentive
...
Fixes https://github.com/umap-project/umap-dsfr/issues/21
Rel. 24f23874f7
2024-11-21 15:37:21 -05:00
Yohan Boniface
5ceda7b2a3
chore: move editToolBar and captionBar to modules
...
This also tries to rework a bit the "reflow" process, which how
to edit the UI when something changes in the data.
The idea is to build the whole HTML, then:
- the `propagate` method tries to change the UI with targetted CSS
selector, but anywhere
- while `render` hide/show some elements
This is not the destination, but just another step. We certainly
need to refactor the SCHEMA to make the next step (as we want to associate
some data change to UI change).
2024-11-18 19:43:28 +01:00
Yohan Boniface
c952fed96a
chore: split umap.js in two modules
2024-11-12 10:17:12 +01:00
Yohan Boniface
61c3be59a8
chore: use colorbrewer as ES module
2024-10-16 09:01:31 +02:00
Yohan Boniface
7aa445f01b
Update umap/templates/umap/map_detail.html
...
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2024-10-10 11:00:46 +02:00
Yohan Boniface
97d2ebae34
fix: make sure maps of demo instances of uMap are no indexed
...
fix #2201
2024-10-09 10:15:54 +02:00
Yohan Boniface
16b759973b
2.7.0b1
2024-10-04 19:31:57 +02:00
Yohan Boniface
d95f06abab
chore: use our own contextmenu ( #2109 )
...
Let's start from here to clean the contextmenu items.
Current status:
### Some entries are generic, and always present:
In preview mode:

In edit mode:

### Some entries are specific to a clicked feature
In preview mode (Marker):

In edit mode (Marker):

In preview mode (Polygon):

In edit mode (Polygon):

In preview mode (Line):

In edit mode (Line):

@Aurelie-Jallut Do you want to make suggestion on what to show or not in
this menu, depending on the context (feature or not, preview or edit
mode) ?
2024-10-04 16:34:06 +02:00
Yohan Boniface
2d905bd048
chore: use GeoRSStoGeoJSON as ES module
2024-09-24 10:24:50 +02:00
David Larlet
d159fdc2cb
feat: add a setting to prevent users from editing their profile
...
In some situations, the profile comes from the OAuth provider and shouldn’t be modified by users.
2024-09-12 14:23:50 -04:00
Yohan Boniface
9d727bd01f
wip: use our own contextmenu
2024-09-09 15:53:55 +02:00
Yohan Boniface
95cb396459
Merge pull request #2104 from umap-project/fix-anonymous-author
...
fix: do not try to display author name/url for anonymous maps
2024-09-04 16:01:30 +02:00
Yohan Boniface
0d5f0b175a
fix: do not try to display author name/url for anonymous maps
2024-09-04 15:39:48 +02:00
Yohan Boniface
0be0a3d1a9
feat: display language code in footer language selector
2024-09-04 11:31:56 +02:00
David Larlet
11d3152682
chore: display user’s teams with a table
2024-08-30 11:12:36 -04:00
David Larlet
a877dd1714
chore: remove logo_url from Team model
2024-08-30 10:55:26 -04:00
Yohan Boniface
13735a5739
chore: use our own Team model
...
We suppose we'll quickly want more than a name, like a description
or a logo_url, and maybe a access_status or permissions…
2024-08-30 15:53:18 +02:00
Yohan Boniface
6b6be017bb
wip: use autocomplete to add users in groups
2024-08-29 20:12:24 +02:00
Yohan Boniface
1058e6074f
chore: lint
2024-08-29 20:12:24 +02:00
Yohan Boniface
a5a68cc922
wip: show user groups maps in dashboard
2024-08-29 20:12:24 +02:00
Yohan Boniface
eccbbda44d
wip: add basic tests for group views
2024-08-29 20:12:24 +02:00
Yohan Boniface
9b2a99019b
wip: add very basic CRUD for groups
2024-08-29 20:12:24 +02:00
Yohan Boniface
a3e972bf5d
wip: add group maps page and display group as author when defined
2024-08-29 20:12:22 +02:00
Yohan Boniface
957e80edf9
Update umap/templates/umap/content_footer.html
...
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2024-08-29 19:41:40 +02:00
Yohan Boniface
a72691e390
feat: display contact infos in the footer
...
This adds a new settings: UMAP_HOST_INFOS
Also, renames UMAP_FEEDBACK_LINK in UMAP_HELP_URL.
cf #2004
2024-08-29 11:41:11 +02:00
Yohan Boniface
f05590e605
Merge pull request #2025 from umap-project/login-from-map
...
fix: catch login_required from map page and add a way to login
2024-08-15 10:57:10 +02:00
Yohan Boniface
f9484c3336
chore: move icon.js to modules
2024-08-13 11:00:17 +02:00
Yohan Boniface
d574abfc36
chore: remove umap.popup.js from js.html
...
The file has been deleted.
2024-08-02 17:39:45 +02:00
Yohan Boniface
3bdd5bedf1
fix: catch login_required from map page and add a way to login
2024-07-30 14:41:10 +02:00
David Larlet
c240357922
fix: do not rely on the hasChildNodes()
method
...
Introduced in 5ba1c28408
TIL: `hasChildNodes()` is sensitive to white spaces.
2024-07-29 21:15:24 -04:00
David Larlet
5ba1c28408
chore: reformat templates with djlint
2024-07-29 10:53:34 -04:00
Yohan Boniface
7aa07709b3
wip: first step in moving features to modules (work in progress)
2024-07-29 16:24:56 +02:00
Yohan Boniface
e2d8201321
chore: move permissions to modules
2024-07-29 15:18:25 +02:00
Yohan Boniface
abbd0e4803
chore: move layers to modules/
...
This is a small step in the direction of spliting the data part
and the rendering part.
Basically in modules/data relies the data part, and in modules/rendering
the rendering part, which at some point in the history should be
the only place where we use and inherit from Leaflet, including utils
and such.
2024-07-12 23:21:41 +02:00
Yohan Boniface
9ac3de2b33
wip: (huge) table editor refactor
2024-07-11 20:39:05 +02:00
Yohan Boniface
ae9659620a
wip: another attemp to massiverly delete features from a condition
2024-07-11 20:39:05 +02:00
Yohan Boniface
49db1f9aaa
chore: move share to modules
2024-07-05 17:52:33 +02:00