Toby Murray
c78853a97e
Changing the note search limit from 9999 to 10000
...
The documentation says the limit is 10000 which seems like a
nicer round number anyway.
2014-01-19 13:40:11 +00:00
Tom Hughes
45618726ef
Reenable the note search API
...
Add a postgress freetext index on the note comments, and enable
note searching using freetext matching.
2014-01-15 19:58:58 +00:00
Tom Hughes
1e2b99a75b
Disable notes search until it can be made scalable
2014-01-09 08:41:59 +00:00
Tom Hughes
0f2958aed4
Report an error if a bogus limit value is passed to a notes API call
2013-12-05 17:57:12 +00:00
Tom Hughes
d09009b1fa
Allow moderators to reopen hidden notes
2013-11-28 20:25:36 +00:00
Tom Hughes
6c51b3cc0a
Replace deprecated finder methods
2013-09-21 11:35:46 +01:00
Tom Hughes
9ab8111022
Replace deprecated scoped
method with all
2013-09-21 11:35:46 +01:00
Tom Hughes
f0feca800d
Replace attr_accessible with strong parameters
2013-09-21 11:35:46 +01:00
Tom Hughes
f03c8637f7
Extract common code for parsing floats
2013-06-24 22:44:17 +01:00
Ian Dees
9d2fed811f
Guard against non-numeric lat and lons in nodes and notes
2013-06-24 22:34:09 +01:00
Tom Hughes
21d2fa4f36
Don't send notifications when a note is deleted
2013-06-21 08:52:59 +01:00
Tom Hughes
cc8bfc07bb
Force notes list to be realised in notes#mine
...
There is a rails bug which means that using count on a relation
that uses uniq and offset/limit and which hasn't been realised
yet will always return one, so force it to be realised.
2013-06-10 23:45:06 +01:00
Tom Hughes
d74d4f8d19
Add a reopen API call for notes
2013-06-10 18:52:50 +01:00
Tom Hughes
95c3a4439e
Call set_locale for all notes actions
2013-04-24 10:51:37 +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
97e0d5ad1f
Add a new write_notes permission needed for OAuth access to notes
2013-03-28 18:50:18 +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
eed9de5483
Reject attempts to create notes with no comment text
2013-02-05 21:54:03 +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
8e5364b2f2
Only show each note once is the user notes view
2013-02-03 11:07:01 +00:00
Tom Hughes
9d3b419aad
Improve styling of the per-user notes list view
2013-02-02 14:29:45 +00:00
Tom Hughes
ba5107ebb5
Remove the author_name field from notes
2012-12-03 14:50:54 +00:00
Kai Krueger
0a3aba7f89
Remove nearby_place from the note model
...
Instead of storing the auto-generated meta information nearby_place
in the database, just look up the information on the fly when needed
and cache it for performance.
2012-12-01 18:18:09 +00:00
Tom Hughes
e2f1d6017d
Update list of filtered methods in notes controller
2012-10-16 12:15:37 +01:00
Tom Hughes
8b917ccd60
Allow an optional comment to be given when closing a note
2012-10-14 16:01:35 +01:00
Tom Hughes
f48d8f41d8
Return a copy of the note data on creation and update
2012-10-14 16:01:34 +01:00
Tom Hughes
92ce228cbe
Get note comment notification working again
2012-10-14 16:01:34 +01:00
Tom Hughes
c9fb146608
Restructure notes URLs according to standard rails conventions
2012-03-10 17:04:57 +00:00