Commit graph

45 commits

Author SHA1 Message Date
Tom Hughes
1f2ac59d1d Fix new rubocop warnings 2018-03-26 19:00:03 +01:00
Tom Hughes
ff97501ed0 Remove all use of the :text option to render
It doesn't actually do what it says, as it sets the content type
to text/html not text/plain so is just confusing and as a result
has been deprecated in newer rails versions.
2017-06-02 19:12:05 +01:00
Tom Hughes
e17b89e89f Fix rubocop warnings 2016-10-20 22:35:51 +01:00
Tom Hughes
d82f9d12ce Fix new rubocop warnings 2016-09-15 19:21:00 +01:00
Tom Hughes
c9d35839be Fix new rubocopy warnings 2015-08-18 20:57:14 +01:00
Tom Hughes
2af0840ff3 Fix style issues found by new rubocop version 2015-04-14 09:38:24 +01:00
Tom Hughes
66efc5f1ec Remove unused method 2015-03-01 16:17:08 +00:00
Tom Hughes
dbe165bbb3 Fix some rubocop rails style issues 2015-02-26 00:12:54 +00:00
Tom Hughes
a6b84a0294 Fix more rubocop style issues 2015-02-24 23:12:02 +00:00
Tom Hughes
dc2a2c8ebd Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
Tom Hughes
5cbd4038ed Fix rubocop style issues 2015-02-20 08:56:16 +00:00
Tom Hughes
baf10cd392 Fix rubocop lint issues 2015-02-20 08:56:16 +00:00
Tom Hughes
ef7f3d800c Fix most auto-correctable rubocop issues 2015-02-20 08:56:16 +00:00
Tom Hughes
34e3e51456 Cleanup trailing whitespace 2015-02-20 08:56:16 +00:00
Tom Hughes
a6b64fdebd Pass sql_for_area a BoundingBox object 2011-11-18 16:50:54 +00:00
Tom Hughes
071c3581e9 Disable CSRF token verification for API methods 2011-11-14 09:42:55 +00:00
Richard Fairhurst
117b8d1a6b Potlatch 1.3 2009-11-23 01:04:02 +00:00
Richard Fairhurst
369202787b Potlatch 1.1 (server code) 2009-07-08 20:52:02 +00:00
Tom Hughes
2f3e23f6eb Move to version 2.3.2 of rails. 2009-06-04 08:08:24 +00:00
Richard Fairhurst
add2d223a6 Apply #1824. 2009-05-14 08:38:32 +00:00
Richard Fairhurst
a67047e7e6 Fix MySQL dependency 2009-04-21 09:24:07 +00:00
Tom Hughes
09fdee5493 Add a "database readonly" state that allows all writes to the database
to be suppressed.
2009-04-14 14:27:30 +00:00
Richard Fairhurst
98d49ed144 Potlatch 0.10c... part two 2008-09-20 12:07:48 +00:00
Richard Fairhurst
88f469eec1 fix for resizable Potlatch 2008-02-03 16:11:24 +00:00
Richard Fairhurst
849397a336 0.5a: further revisions to merged ways, API->SWF error handling 2007-11-13 09:26:04 +00:00
Richard Fairhurst
d469b91e7e Potlatch 0.4b: put POIs in ways; small SWF improvement; correct created_by for ways 2007-10-28 16:07:23 +00:00
Richard Fairhurst
d626256bc2 Potlatch 0.4 (hopefully) 2007-10-07 20:26:00 +00:00
Gabriel Ebner
e03ea17a22 rails_port_0.5: Merge rails_port r4643 2007-09-22 19:55:33 +00:00
Tom Hughes
2237cab748 Scale lat and lon values for unwayed segments. 2007-09-21 16:09:24 +00:00
Tom Hughes
418b315ea5 Use tile based queries for unwayed segments. 2007-09-21 16:04:36 +00:00
Tom Hughes
9c01c4cb63 Allow the API to be taken offline completely as well as being put into
readonly mode,
2007-09-20 23:51:11 +00:00
Gabriel Ebner
cfbdd3f7e1 Merge rails_port as of r4613 & fix tests. 2007-09-20 14:37:29 +00:00
Tom Hughes
4c00efd678 Cope with change in number of decimals for GPS point positions. 2007-09-19 09:18:59 +00:00
Tom Hughes
349413a520 Allow column names in area conditions to be qualified, and do so for
the SWF queries which sometimes reference more than one table with
columns named latitude and longitude.
2007-09-14 11:16:25 +00:00
Tom Hughes
0423884184 Use QuadTiling in GPS point queries. 2007-09-12 12:14:45 +00:00
Frederik Ramm
78b440ffc1 preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00
Tom Hughes
0a8c26e596 Various updates to the user management, including the creation of a
preferences table and moving tokens into a tokens table so that a user
can have more than one.
2007-08-14 23:07:38 +00:00
Tom Hughes
e70d94c54a Don't create sessions for API calls. 2007-08-14 13:59:07 +00:00
Tom Hughes
9dbe1a497a Add a flag to allow the API to be placed in read-only mode. 2007-07-26 17:15:23 +00:00
Tom Hughes
dcad29dad0 Split the rest action into sparate read, update and delete actions thus
allowing authorization to be done on a per-action basis without worring
about the method. This should make the user API work.

Also do a lot of cleanup of the controllers.
2007-06-27 17:27:10 +00:00
Richard Fairhurst
d7c17fb0b5 more accurate unwayed segments display; warning icon flashes and has a Helpful Tooltip 2007-06-24 16:23:12 +00:00
Richard Fairhurst
00f7307824 unwayed segments fix 2007-06-08 17:37:54 +00:00
Richard Fairhurst
d85887e146 start of unwayed segments support 2007-06-07 09:18:23 +00:00
Richard Fairhurst
6efdcaa993 Latest Potlatch, plus TomH's GPX fix 2007-06-06 09:59:59 +00:00
Richard Fairhurst
0944c1cf02 Potlatch-on-Rails, ready to go (fingers crossed) 2007-05-18 15:20:31 +00:00