Commit graph

195 commits

Author SHA1 Message Date
Yohan Boniface
6b539b9d40 Add pagination to map table in user dashboard 2023-07-15 09:31:55 +02:00
Yohan Boniface
7adc409cdb Add html title to dashboard page 2023-07-15 09:31:55 +02:00
Yohan Boniface
7fb776c2a4 add thead and tbody in maps table 2023-07-15 09:31:54 +02:00
Yohan Boniface
bb4c027ec7 Allow to use http://umap.fr/map/xxxx?share to open shareBox on load
That way is more consistent with ?download and ?edit
2023-07-15 09:31:37 +02:00
Yohan Boniface
8f76252b3a Apply suggestions from code review
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2023-07-12 09:09:01 +02:00
Yohan Boniface
4d0ced9a98 Add very basic user dashboard 2023-07-12 09:09:01 +02:00
Yohan Boniface
cf397956f9 i18n 2023-07-03 22:07:21 +02:00
David Larlet
51978f9f2a
Display latest created maps on empty search 2023-06-30 21:40:35 -04:00
David Larlet
7ccb804231
Manual JS conversion in content template 2023-06-20 10:10:40 -04:00
David Larlet
de37721c40
Manually reformat JS parts for djLint 2023-06-20 10:05:28 -04:00
David Larlet
be5d27d292
Lint template files with djLint 2023-06-20 10:00:02 -04:00
David Larlet
70e3852c0c
Prettify template files with djlint 2023-06-20 09:40:32 -04:00
Yohan Boniface
b324e59cd4 Fix stars link in header 2023-06-17 15:59:16 +02:00
Yohan Boniface
608c54d4bf
Merge pull request #1145 from umap-project/custom-username
Allow to customize user display name and URL slug
2023-06-17 06:39:55 +02:00
Yohan Boniface
81fcc080d9 Allow to customize user display name and URL slug 2023-06-16 14:59:59 +02:00
Yohan Boniface
8b4ffba859 Show messages also in the content part
Messages are already shown in the map, if any.
2023-06-16 14:45:43 +02:00
David Larlet
3edad3976d
Display the number of maps on search results page 2023-06-14 09:58:48 -04:00
David Larlet
fad196bff7
Display the current version + link to changelog 2023-06-06 14:05:35 -04:00
David Larlet
b6628a3015
Merge pull request #1112 from umap-project/1095-read-only-banner
Banner + no create buttons when in read only mode
2023-05-30 18:25:33 -04:00
David Larlet
3f28c04241
Banner + no create buttons when in read only mode
Fix #1095
2023-05-30 16:17:12 -04:00
David Larlet
fd3f854a9c
Use DOMPurify to escape malicious input from user 2023-05-30 14:22:04 -04:00
David Larlet
8d6185c476
Manual review of Lebab for let/const conversions 2023-05-30 14:16:10 -04:00
Yohan Boniface
50091ec0fa Redirect to "user_maps" at login end when window.opener is not accessibile
This is the case for Twitter.
We'll try to refactor the process later, but let's make it "acceptable"
for now.

cf #1097
2023-05-30 08:42:23 +02:00
Yohan Boniface
7b65820b73 HOT fix: add message in login_popup_end.html to work around Twitter issues
In case of logging through Twitter, we don't have access to
window.opener, so we cannot close the window and tell uMap to
finish the login process.
2023-05-30 08:42:23 +02:00
Yohan Boniface
37b4d05da5 (WIP) Allow to star map and retrieve starred maps 2023-05-15 12:22:26 +02:00
Yohan Boniface
238401f983 i18n 2023-02-27 14:39:59 +01:00
Aleksejs Popovs
c4415e1e99 Vendor leaflet.locatecontrol 2022-11-24 13:55:09 -05:00
Yohan Boniface
4358a35a5d Set dir=rtl when appropriate
cf #752
2020-03-23 11:30:45 +01:00
Yohan Boniface
95a16b2aaf Set unique map id per page in map_list
This words around the issue where a map is displayed twice while
loading more maps in the home page because while loading maps some
have been updated
2019-04-09 11:47:02 +02:00
Ward Muylaert
2ffdd0594b Fix original English translation strings
It seems mistakes in the original English (en) translation strings are
not fixed in the website despite them being correct for en_US in
Transifex for several years. My guess is that they are the default for
en, so unless you somehow manage to explicitly select en_US (which does
not seem possible), you are stuck with the incorrect English.
2019-02-25 14:06:57 +01:00
Yohan Boniface
f11fe36865 Fix button bar on home 2018-07-07 19:35:02 +02:00
Yohan Boniface
1a815b313d Add an explicit button to attach an owner to an anonymous map
fix #568
2018-07-07 16:44:40 +02:00
Yohan Boniface
48185650b0 Move permissions form building to JS 2018-06-15 23:25:38 +02:00
Yohan Boniface
6b3d45064c Fix wrong class in auth panel 2018-06-02 19:17:57 +02:00
Yohan Boniface
a7ec9b173d Add a basic language switcher in the home footer
fix #74
2018-06-02 19:04:32 +02:00
Yohan Boniface
27bb306fd3 Consolidate CSS files after merge 2018-06-02 18:24:19 +02:00
Yohan Boniface
a0bff73401 Fix generate_js_locale paths 2018-06-02 14:44:01 +02:00
Yohan Boniface
887a9fc7e0 Renamed L.Storage in L.U 2018-06-02 12:36:28 +02:00
Yohan Boniface
19d2b39423 Leaflet.Storage is now integrated inside this repository 2018-06-02 12:21:40 +02:00
Yohan Boniface
e55d03bd5e Django 2.0
And update other deps
2018-05-19 10:05:18 +02:00
Ltrlg
2de13a8dfa Mark a string for translation 2017-12-09 11:02:04 +01:00
David Larlet
732ede7aab
Remove useless leaflet tags from templates 2017-04-26 17:07:16 -04:00
David Larlet
445abf0fff
Switch to Flexbox for main navigation 2017-04-26 16:01:08 -04:00
Yohan Boniface
cb185a4500 More theming hooks 2017-04-24 18:56:31 +02:00
Yohan Boniface
1af1846cfd 0.8.0-rc.10 2016-11-05 12:42:51 +01:00
Yohan Boniface
af8745e2d7 Do use an ancestors of maps for ui
Otherwise, each map will react to the `.storage-ui xxx` css rule.
2016-09-18 15:27:18 +02:00
Yohan Boniface
d4f7837ee5 Remove dark strips from home 2016-09-17 22:56:45 +02:00
Yohan Boniface
f0e97913d5 Add field errors in login form 2016-09-09 21:09:24 +02:00
Yohan Boniface
2437334940 Merge branch 'auth-login' of https://github.com/plepe/umap into plepe-auth-login 2016-09-09 20:55:16 +02:00
Yohan Boniface
e5e0ad8823 Add LEAFLET_STORAGE_KEEP_VERSIONS 2016-09-09 20:42:17 +02:00
Yohan Boniface
fe9d99550b Remove Leaflet.Label 2016-07-19 08:46:07 +02:00
Yohan Boniface
0c86f7a132 Add Path.Drag.js 2016-07-19 08:45:59 +02:00
Yohan Boniface
da6cff729c Allow to override site name in pages title 2016-06-30 14:41:10 +02:00
Yohan Boniface
a34d163449 Do not override "content" block in content.html template 2016-06-29 17:20:47 +02:00
Yohan Boniface
a1676d56ca Use a specific prefix for maps ids in search results 2016-06-27 15:16:55 +02:00
Yohan Boniface
0bca23cca4 Put back bottom_js block removed by mistake 2016-05-20 11:11:31 +02:00
Yohan Boniface
2f77c08465 Use our own fork of Leaflet.Label 2016-05-20 09:45:26 +02:00
Yohan Boniface
72202b0d3d Small CSS/HTML tricks to follow changes in Leaflet.Storage 2016-05-17 22:37:20 +02:00
Yohan Boniface
bd0fff41ad Add link for Leaflet.Fullscreen 2016-04-26 09:54:45 +02:00
Yohan Boniface
5aa853761c Follow Leaflet.Storage UI refactoring
cf umap-project/Leaflet.Storage/commit/59583db7bef28b2fd13ac98c0a62e1a770d3fb66
2016-04-26 00:07:06 +02:00
Yohan Boniface
bfe26adfad Add Leaflet.Photon to js 2016-04-24 14:31:11 +02:00
Stephan Bösch-Plepelits
5f63943458 Authentication: configure availability of account login (default True) 2016-02-05 05:44:15 +01:00
Stephan Bösch-Plepelits
8f5b59604e Authentication: show errors for username / password login failures 2016-01-14 21:26:44 +01:00
Stephan Bösch-Plepelits
7477adec05 Authentication: custom templates for password change 2016-01-14 21:26:43 +01:00
Stephan Bösch-Plepelits
2f2e0f510d Authentication: include a change password menu entry 2016-01-14 21:26:43 +01:00
Stephan Bösch-Plepelits
0d3046e711 Authentication: hide block with OAuth providers, when no providers configured 2016-01-14 21:26:43 +01:00
Stephan Bösch-Plepelits
5ed0361998 Authentication: login via username / password 2016-01-14 21:26:43 +01:00
Yohan Boniface
d593000630 Change repository links from bitbucket to github (fix #214) 2015-09-23 12:13:56 +02:00
Yohan Boniface
3eab361009 Include Leaflet.Measurable 2015-09-23 09:18:51 +02:00
Yohan Boniface
7b5ea8df67 First shot in Django 1.8 / python 3 support
This also replaced pg_index with a simple builting seach
based on tsvector, as pg_index is not compliant with Django 1.8,
and as some old dependencies that would need to be upgrade too.
2015-08-02 18:08:31 +02:00
Bryce Nesbitt
a08f05e203 Found some errors when trying to install uMap 2015-05-27 22:02:48 -07:00
Yohan Boniface
8cef5885e5 add noindex when map status isn't public 2014-10-02 22:45:22 +02:00
Yohan Boniface
acd8c2dd8a Display current version in footer 2014-08-25 10:09:39 +02:00
Yohan Boniface
3ae4b86893 Allow to override the feedback link 2014-08-25 09:42:17 +02:00
Yohan Boniface
b837e2dfa1 Bad path for leaflet.draw (we need to keep if for Leaflet.MeasureControl) 2014-08-02 23:34:36 +02:00
Yohan Boniface
e27ff67fe1 0.7.0 2014-08-02 23:31:50 +02:00
Yohan Boniface
26322010df 0.6.8 2014-06-22 19:34:30 +02:00
Yohan Boniface
c52d63faf9 0.6.7 2014-06-19 14:39:45 +02:00
Yohan Boniface
9257264b8d Refactor autocomplete and add a simple select one 2014-06-19 00:11:12 +02:00
Yohan Boniface
785f0bf252 Add slideshow module 2014-06-18 18:09:26 +02:00
Yohan Boniface
f6a6cae716 0.6.2 2014-06-16 14:18:34 +02:00
Yohan Boniface
e0e5707906 0.6.0 2014-06-16 14:02:18 +02:00
Yohan Boniface
10ab653cad Remove small icons from feature list 2014-05-01 15:18:38 +02:00
Yohan Boniface
63e4ba90b3 Remove useless template 2014-04-25 11:20:37 +02:00
Yohan Boniface
7240f5eaf5 Add leaflet-heat 2014-04-20 17:42:18 +02:00
Yohan Boniface
2083f1d93c Working on 404 page 2014-04-20 12:11:47 +02:00
Yohan Boniface
fdc28c9f28 Add logo in 500.html 2014-04-20 11:08:22 +02:00
Yohan Boniface
e105686d5a from osm_and_geojson to osmtogeojson 2014-04-19 22:59:07 +02:00
Yohan Boniface
39f672641c First shot in GeoRSS support 2014-04-19 11:48:54 +02:00
Yohan Boniface
d37d165839 Add Leaflet.label plugin 2014-03-21 12:37:48 +01:00
Yohan Boniface
40d5ac7e3a Upgrade django-social-auth to python-social-auth 2014-03-06 23:22:37 +01:00
Yohan Boniface
7c7a413f79 Typo 2014-03-01 01:48:24 +01:00
Yohan Boniface
fa6a9f29f8 Make editor field placeholder localizable 2014-03-01 01:33:35 +01:00
Yohan Boniface
02994a3df1 Updating translations 2014-02-10 14:54:06 +01:00
Yohan Boniface
b49ca563d3 Remove remaining Darline calls 2014-02-10 01:39:11 +01:00
Yohan Boniface
cf2f5a4838 Remove darline dependency 2014-02-10 00:48:50 +01:00
Yohan Boniface
bd6b6ca717 Move "demo instance warning" to dedicated div 2014-02-08 08:38:40 +01:00
Yohan Boniface
1c84384922 CSS refactoring (including first version of showcase map) 2014-02-07 22:05:41 +01:00
Yohan Boniface
94e324b0d7 Remove useless templates 2013-12-05 22:57:49 +01:00
Yohan Boniface
35ff54c093 Moved on leaflet.storage 2013-11-26 18:54:23 +01:00