Commit graph

297 commits

Author SHA1 Message Date
Yohan Boniface
a2da1d64f7 Fallback user to dashboard after OAuth process
Now that we have a dashboard page, this makes more sense than the
"public profile" page.
2023-07-16 12:04:51 +02:00
Yohan Boniface
891c23747f 1.4.0 2023-07-15 11:36:42 +02:00
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
Yohan Boniface
38ffb1c8e5 Remove compress from content.html 2013-11-25 13:25:45 +01:00
Yohan Boniface
d63c9b3693 Setlocale before including any storage file 2013-11-25 12:33:48 +01:00
Yohan Boniface
3c647ec2dd We no not store description as a separate column anymore 2013-11-24 16:27:02 +01:00
Yohan Boniface
c8cb1bb52d Remove useless template, clean translation, add Transifex config 2013-11-22 15:32:21 +01:00
Yohan Boniface
8ec63b69a9 Geojsonize (cf yohanboniface/Leaflet.Storage#62) 2013-11-11 12:57:34 +01:00
Yohan Boniface
fdb9bd5e46 Fix unclosed em in map list when map is anonymous 2013-07-26 15:51:50 +02:00
Yohan Boniface
6dc79db9a3 Move getMore js call in content.html, just needed there 2013-07-02 20:00:45 +02:00
Yohan Boniface
8c70a863c2 Add clone map button 2013-06-27 00:12:25 +02:00
Igor Támara
a36ab981d2 Fixed typo 2013-06-23 22:43:29 -05:00
Yohan Boniface
53f9a904b2 Use markdown in feature description 2013-06-21 18:02:02 +02:00
Yohan Boniface
e14310e5db Translations 2013-06-16 17:41:04 +02:00
Yohan Boniface
13872dfc1f Notice that tab and semi-colon are now also valid for CSV import 2013-06-16 17:07:35 +02:00
Yohan Boniface
89d4e37931 Not needed anymore since TileLayer refactor 2013-06-16 12:26:33 +02:00
Yohan Boniface
fad6cce959 Compress also ui and i18n for better versionning of caches 2013-06-15 18:52:34 +02:00
Yohan Boniface
6179bf16b5 Remove blank line after </html> tag 2013-06-13 23:04:09 +02:00
Yohan Boniface
e3a5263c62 Rename category in datalayer
cf yohanboniface/django-leaflet-storage#82
2013-06-08 15:40:53 +02:00
Yohan Boniface
2810f3fa7c Add an empty footer, to allow settings custom piwik like script per instance 2013-05-28 09:28:04 +02:00
Yohan Boniface
96a0c4b16b First version of autocomplete for managing map editors 2013-05-22 16:23:49 +02:00
Yohan Boniface
f735fa16e5 Display non field errors in upload form 2013-05-19 00:14:55 +02:00
Yohan Boniface
7d4e94e5fd Add CSV import description 2013-05-18 23:14:11 +02:00
Yohan Boniface
7b6185c831 Update icons path in about page 2013-05-16 13:40:17 +02:00
Yohan Boniface
5c0fcb86d4 Missing a space... 2013-05-14 14:05:05 +02:00
Yohan Boniface
3fc713d8ec Do not display two "—" when map has no description 2013-05-14 14:04:05 +02:00
Yohan Boniface
fb18bdeb5e Prepare for django 1.5 2013-05-14 12:07:58 +02:00
Yohan Boniface
6c94f7d8b3 Display demo message only for demo instance 2013-05-01 18:54:40 -04:00
Yohan Boniface
514ec073ae Add a message in the map creation box when anonymous 2013-04-29 18:12:33 -04:00
Yohan Boniface
0a3097dd9e Fix HTML title not displayed in map page 2013-04-27 20:29:12 -04:00
Yohan Boniface
85890ae3c0 Adapt to using messages in django-leaflet-storage 2013-04-05 22:14:46 -04:00
Yohan Boniface
cc6935f35d Prepare for anonymous map
See https://github.com/yohanboniface/Leaflet.Storage/issues/44
2013-03-30 21:33:27 -04:00
Yohan Boniface
c4776a27b3 Update logo 2013-03-12 00:22:14 +01:00
Yohan Boniface
e26d4fb575 Fix broken search bar on 17 cols mode 2013-02-13 18:48:01 +01:00
Yohan Boniface
49e010109f More French translations 2013-02-12 18:55:16 +01:00
Yohan Boniface
01c9cf4153 Fix wrong compress block 2013-02-12 17:41:16 +01:00
Yohan Boniface
8f532dde71 First shot in removing jQuery and Foundation (\o/) cf #12 2013-02-12 17:34:33 +01:00
Yohan Boniface
09651544e6 Customize upload_form
But it's urgent to get rid of jQuery and Foundation, and get a simpler
stack.
2013-02-02 22:02:32 +01:00
Yohan Boniface
34fc7f9fd1 Get rid of "options_" 2013-01-31 23:25:37 +01:00
Yohan Boniface
4b3be11e19 Follow changes in icon form field
See yohanboniface/django-leaflet-storage#22
2013-01-25 02:31:26 +01:00
Yohan Boniface
cba5ff6b5d Follow changes on icon management
See https://github.com/yohanboniface/django-leaflet-storage/issues/22
2013-01-24 14:16:59 +01:00
Yohan Boniface
f90d0e6159 Handle path styling options
See https://github.com/yohanboniface/Leaflet.Storage/issues/26
2013-01-22 22:39:25 +01:00
Yohan Boniface
7bc90ccc0c Add a custom template for "update map settings" form
See yohanboniface/Leaflet.Storage#22
2013-01-12 20:26:19 +01:00
Yohan Boniface
1409f17979 Add Oauth support (with django-social-auth) 2013-01-11 22:24:48 +01:00
Yohan Boniface
363d3e41b8 Fix wrong link in README 2013-01-07 12:38:35 +01:00
Yohan Boniface
52e41e7cd7 Move styles form fields in a separate template
Working on yohanboniface/django-leaflet-storage#21
2013-01-04 12:48:39 +01:00
Yohan Boniface
212a8f20fc Remove footer while using endless pagination (fix #2) 2013-01-04 10:51:47 +01:00
Yohan Boniface
e6bf339c54 Rename project (prepare to 0.1) 2013-01-02 16:20:08 +01:00