Bryan Housel
3246ca176f
Eagerly load user's details and changesets
...
(closes #3787 )
Also, don't redo authentication in save.js if user is already authenticated
2017-01-22 12:43:39 -05:00
Milad Karbasizadeh
3ef1103c3a
Remove signs of real_name ever existed.
2017-01-03 21:57:29 +03:30
Milad Karbasizadeh
5da7d83fe9
Modify railways arabic/persian names
2017-01-03 16:34:57 +03:30
Nick Doiron
94ee7d4916
move changes to svg display name
2017-01-03 18:18:18 +08:00
Milad Karbasizadeh
af1ac89df7
Rename fix-string.js and fixTextForSvg function name to a more readable name.
...
User regex to detect arabic characters.
Fix editing bugs.
2017-01-02 14:48:22 +03:30
Milad Karbasizadeh
92b5ce133d
fix persian characters on chrome and safari
2017-01-01 15:41:47 +03:30
Bryan Housel
a7ac44f6e8
Refactor imageryBlacklists so it can be called without triggering a GET
...
Previous code was problematic because we need the function to
to properly blacklist custom imagery passed in through the url hash,
before iD is completely initialized. Triggering GET causes tests to
break because osm service testing has side effects :-/
2016-12-04 21:35:55 -05:00
Bryan Housel
b9888e45e4
Add imageryBlacklists function to get blacklists from OSM API
...
(for #3623 )
2016-12-03 19:25:07 -05:00
Bryan Housel
9bf6c25bde
Clear saved rate limit error when calling reset()
2016-11-09 17:58:25 -05:00
Bryan Housel
16ada1f29a
Better error handling for common osm api error conditions
...
* if 509 Bandwidth Exceeded / 429 Too Many Requests, prompt for login
(closes #2262 )
* if 400 Bad Request / 401 Unauthorized / 403 Forbidden - logout and retry
(closes #3546 )
2016-11-08 21:43:27 -05:00
Bryan Housel
a601ccc0c9
Use osm-auth 1.0.1, make authenticated OSM API calls
...
(re: #2262 )
2016-10-24 18:40:52 -04:00
Bryan Housel
45d85e04c5
Make authenticated api calls if possible
2016-10-24 01:21:38 -04:00
Bryan Housel
e81b6e626a
WIP: authenticate OSM API calls if user is logged in
2016-10-22 12:17:52 -04:00
Bryan Housel
b5c95af3b7
Refactor from coreConnection to serviceOsm
...
(closes #3497 )
2016-10-19 09:25:34 -04:00