Commit graph

5306 commits

Author SHA1 Message Date
Yuki Shira
a65125e93a Replace trace.trace_paging_nav.previous/next by older/newer 2013-04-28 10:36:42 +01:00
Tom Hughes
a14abfe90b Tone down the anonymous edit warning for notes
Increase the saturation of our standard warning colour a little so
that it is more visible, and then switch notes to using the warning
colour instead of the error colour.
2013-04-27 16:47:25 +01:00
Tom Hughes
10161fb41b Encode parameters correctly when building an OAuth base string
Parameter key and value escaping needs to use the extended algorithm
from the OAuth specification, not the standard URI escaping algorithm
so we need to escape !, ', *, ( and ) characters.
2013-04-27 12:20:16 +01:00
Tom Hughes
d48b1ccdf2 Replace the title in the note popup with a permalink 2013-04-27 11:51:51 +01:00
Tom Hughes
4a69512ce4 Reduce corner radius on all leaflet popups 2013-04-27 11:31:02 +01:00
Tom Hughes
e2b364d002 Increase whitespace between comments in the note popup 2013-04-27 11:23:58 +01:00
Tom Hughes
899dab08f9 Cancel any existing object load before starting a new one 2013-04-27 11:15:32 +01:00
Tom Hughes
e932418998 Remove the flatten_comment methd from the Note model 2013-04-26 19:35:20 +01:00
Tom Hughes
5dda4196d5 Rework the generation of descriptions in the notes RSS feed 2013-04-26 19:34:32 +01:00
Tom Hughes
b1308a87be Show OSM objects for Nominatim search results as map overlays 2013-04-26 00:39:26 +01:00
Tom Hughes
aeeb30ce3c Improve wrapping in the data browse on narrow windows 2013-04-25 17:44:40 +01:00
John Firebaugh
66ce4c3b93 Fix P2 interaction with search links
Need to prevent the default action so that the page isn't
reloaded.

Also, since the click event binding uses delegation, it isn't
necessary to wrap it in $(document).ready().
2013-04-25 17:37:57 +01:00
Tom Hughes
47a75be1c7 Use the correct longitude for links when browsing changesets 2013-04-25 17:27:01 +01:00
Tom Hughes
f541c8e126 Improve functional tests for notes#feed 2013-04-24 21:44:46 +01:00
Tom Hughes
da0dd88f62 Improve functional tests for notes#show 2013-04-24 21:38:20 +01:00
Tom Hughes
34a94fa358 Adopt a consistent naming scheme fot notes functional tests 2013-04-24 20:26:14 +01:00
Tom Hughes
9fc99d28ba Improve functional tests for notes#search 2013-04-24 20:21:18 +01:00
Tom Hughes
c50ac64c38 Improve functional tests for notes#index 2013-04-24 19:17:38 +01:00
Tom Hughes
6e33cf0871 Fix exception with GPX and RSS notes#index when no notes are found 2013-04-24 19:17:13 +01:00
Tom Hughes
273ae4c729 Wrap XML notes responses in an <osm> wrapper 2013-04-24 18:18:20 +01:00
Tom Hughes
b0a84cf1bf Explicitly set text/plain as the type for error responses 2013-04-24 17:46:45 +01:00
Tom Hughes
95c3a4439e Call set_locale for all notes actions 2013-04-24 10:51:37 +01:00
Tom Hughes
36bd2468e0 Fix exeption in GeoRSS formatting for notes 2013-04-24 10:20:35 +01:00
Tom Hughes
925bd812a2 Fix exception with XML notes#index when no notes are found 2013-04-24 09:41:08 +01:00
Tom Hughes
1b22299777 Correct a couple of strings 2013-04-24 09:20:01 +01:00
Tom Hughes
4ff5db34c0 Add strings for the allow_write_notes permission 2013-04-24 09:09:15 +01:00
Tom Hughes
baaa67b5b1 Update database structure 2013-04-23 22:57:40 +01:00
Tom Hughes
0c8ad2f86e Merge branch 'notes'
Conflicts:
	Vendorfile
2013-04-23 22:40:21 +01:00
John Firebaugh
32959aed76 Don't display empty changeset comments
See systemed/iD#1360. We will also change iD to omit empty comments.
2013-04-22 11:26:58 -07:00
Siebrand Mazeland
8cef78f341 Localisation updates from http://translatewiki.net. 2013-04-21 12:37:45 +00:00
Tom Hughes
1f8bbc2574 Stop text overflowing the richtext preview pane 2013-04-17 22:39:40 +01:00
Tom Hughes
92210a5be1 Allowing wrapping inside the content of a richtext editor
We disable wrapping on the container to keep the editor and the
help on the same line, but need to turn it back on again inside
the editor so that autogrow can work.
2013-04-17 22:38:20 +01:00
Tom Hughes
96d5517a9b Update jQuery Autogrow Textarea Plugin to v3.0 2013-04-17 17:38:22 +01:00
Tom Hughes
52611a5bfa Merge branch 'master' into notes 2013-04-16 18:22:47 +01:00
Saman Bemel-Benrud
7614534bdb Diary cleanup
This commit includes a few basic changes to make the user diaries
friendlier and easier to read. I adjusted the text styles and added
a maximum width, to keep the line length under control.
2013-04-14 17:26:27 +01:00
Siebrand Mazeland
466af52ca4 Localisation updates from http://translatewiki.net. 2013-04-14 11:59:21 +00:00
Tom Hughes
7f598ab412 Merge branch 'master' into notes
Conflicts:
	Gemfile.lock
	app/views/diary_entry/list.html.erb
2013-04-08 22:34:37 +01:00
Tom Hughes
979822f697 Add a "Hide" button to notes when viewed by moderators 2013-04-08 22:32:20 +01:00
Tom Hughes
4b669ec1ae Return an updated copy of the note from the delete call 2013-04-08 22:00:26 +01:00
Tom Hughes
030bb31ec1 Allow a comment to be supplied when hiding a note 2013-04-08 21:29:41 +01:00
Tom Hughes
f4b599e8fd Restriction note deletion to moderators 2013-04-08 21:21:31 +01:00
Tom Hughes
22760a3cc8 Update Potlatch 2 to 2.3-584-g996bb4d build 2013-04-08 10:36:10 +01:00
Tom Hughes
c9ec4895ea Fix next/previous links on diary pages properly 2013-04-07 23:09:19 +01:00
Tom Hughes
8baddcb26c Correct next/previous links on diary list page 2013-04-07 18:41:00 +01:00
Siebrand Mazeland
f48d3f9736 Localisation updates from http://translatewiki.net. 2013-04-07 10:41:38 +00:00
Matt Amos
3822e8de77 Added database, API and GPX status to capabilities. 2013-04-02 15:05:20 +01:00
Tom Hughes
10a7e1a5f0 Update bundle 2013-04-01 14:40:52 +01:00
Siebrand Mazeland
93b1a8e1d6 Localisation updates from http://translatewiki.net. 2013-04-01 14:18:21 +01:00
Tom Hughes
0defbf60e6 Mark CORS responses as uncacheable 2013-04-01 14:18:21 +01:00
Tom Hughes
f1a325684d Wait until after rails has initialise I18n to preload the resources 2013-04-01 14:18:21 +01:00