Commit graph

2920 commits

Author SHA1 Message Date
Tom Hughes
8ed6d80b0d Reimplement User#is_friends_with? in a non-insane way 2013-04-01 14:18:21 +01:00
Tom Hughes
a5121f8910 Preload sender/recipient details for messages 2013-04-01 14:18:20 +01:00
Tom Hughes
97e0d5ad1f Add a new write_notes permission needed for OAuth access to notes 2013-03-28 18:50:18 +00:00
Tom Hughes
0a4b860480 Focus on the text field when a note is opened 2013-03-28 15:12:53 +00:00
Tom Hughes
d00994d151 Fix display of updates on newly loaded notes 2013-03-28 14:43:07 +00:00
Tom Hughes
84f7d322d0 Don't try and use OAuth if we don't have a token 2013-03-28 14:29:38 +00:00
Tom Hughes
00a4d9fe49 Tidy up javascript OAuth code 2013-03-28 11:18:58 +00:00
Tom Hughes
15be6b3ffc Add missing padding at right hand end of greeting menu 2013-03-28 00:40:07 +00:00
Tom Hughes
898cc828dd Merge branch 'master' into notes
Conflicts:
	Gemfile.lock
2013-03-28 00:36:07 +00:00
Tom Hughes
38255f9f8d Use OAuth for notes API calls and require authentication to close 2013-03-28 00:34:23 +00:00
Tom Hughes
e8d32637c1 Add javascript OAuth support 2013-03-28 00:34:09 +00:00
Tom Hughes
78e8828741 Use changeset and user caches in Changeset#download 2013-03-24 09:52:03 +00:00
Tom Hughes
6300fa2a4f Avoid reading nodes twice in WayController#full 2013-03-24 09:52:03 +00:00
Tom Hughes
9717b81a47 Optimise database reads in DiaryEntry#list 2013-03-24 09:52:03 +00:00
Tom Hughes
9d23b0d00c Improve selection logic in DiaryEntry#rss 2013-03-24 09:52:03 +00:00
Tom Hughes
abd29001a3 Reimplement User#is_friends_with? in a non-insane way 2013-03-24 09:52:03 +00:00
Tom Hughes
3a06235b02 Preload sender/recipient details for messages 2013-03-24 09:52:03 +00:00
Eric Theise
dce2bb9a54 Extend geocoder to support additional lat/lon formats 2013-03-03 19:39:53 +00:00
Tom Hughes
456d41e189 Remove use of jQuery toggle() function 2013-02-12 10:31:38 +00:00
Tom Hughes
34f823a30e Clear the note cache when the note layer is turned off 2013-02-12 10:01:25 +00:00
Tom Hughes
eed9de5483 Reject attempts to create notes with no comment text 2013-02-05 21:54:03 +00:00
Tom Hughes
68044c6054 Separate the links in the bottom right map corner better 2013-02-05 19:18:37 +00:00
Tom Hughes
8090e086da Merge branch 'master' into notes 2013-02-05 19:03:28 +00:00
Tom Hughes
a5ca0f48c1 Stop newly added notes disappearing 2013-02-05 19:03:13 +00:00
Tom Hughes
9f025130fd Change "Close" button to "Resolve" in notes popup 2013-02-05 18:56:59 +00:00
Tom Hughes
d1aa084d28 Reject note comments with no text 2013-02-05 18:46:41 +00:00
Tom Hughes
ae27f7adbe Make the API reject changes to closed notes 2013-02-05 18:08:42 +00:00
Tom Hughes
6279d83260 Pass parameters to APIAlreadyDeletedError correctly 2013-02-05 18:08:11 +00:00
Tom Hughes
c12fe5f6e8 Remove redundant return 2013-02-05 17:42:08 +00:00
Tom Hughes
d92ca41cae Avoid javascript warning 2013-02-05 17:32:44 +00:00
Tom Hughes
51dcf86f40 Remove the "new note" marker when the user clicks somewhere else 2013-02-05 00:30:58 +00:00
Tom Hughes
b97fe91bba Disable "Add Note" button when there is no text 2013-02-03 18:03:25 +00:00
Tom Hughes
97b21e5fb1 Enable the "add note" link after a new note is created 2013-02-03 17:58:37 +00:00
Tom Hughes
a51509c668 Add link to show a note on the map to the note browser page 2013-02-03 17:44:05 +00:00
Tom Hughes
104f554008 Make titles in note popups link to the note 2013-02-03 16:50:59 +00:00
Tom Hughes
4b324f5896 Allow a note=N parameter in the URL to zoom to and open a note 2013-02-03 16:47:30 +00:00
Tom Hughes
2da3b85a7a Disable the "add note" link while a note is being added 2013-02-03 16:18:06 +00:00
Tom Hughes
40b3c828e7 Avoid making the map scroll when adding a new note 2013-02-03 16:07:47 +00:00
Tom Hughes
703663c4a2 Add a test for commenting on diary entries 2013-02-03 15:50:09 +00:00
Tom Hughes
ae48206d2c Move the note popups up slightly
The default position makes it hard to grab the marker and move it
when adding a note, so move themm up a few pixels.
2013-02-03 13:04:14 +00:00
Tom Hughes
cff41d2171 Ajaxify message deletion 2013-02-03 12:52:51 +00:00
Tom Hughes
7f83692317 Improve date display in user notes list 2013-02-03 11:10:24 +00:00
Tom Hughes
8e5364b2f2 Only show each note once is the user notes view 2013-02-03 11:07:01 +00:00
Tom Hughes
43f39c50a3 Touch notes when new comments are added 2013-02-03 11:06:34 +00:00
Tom Hughes
ff73d12255 Make notes RSS feeds work 2013-02-02 17:48:56 +00:00
Tom Hughes
16a0f14f4a Show anonymous user warning in data browser note view 2013-02-02 16:34:49 +00:00
Tom Hughes
5ad45549e1 Add anonymous comment warning to note popup 2013-02-02 16:18:35 +00:00
Tom Hughes
9d3b419aad Improve styling of the per-user notes list view 2013-02-02 14:29:45 +00:00
Tom Hughes
2ef58f47a2 Improve display of anonymous note comments 2013-02-02 13:04:27 +00:00
Tom Hughes
0b993e5ce0 Tweak sizing of note popups 2013-02-02 12:21:53 +00:00