Commit graph

91 commits

Author SHA1 Message Date
Tom Hughes
882700c5c8 Rename some columns and indexes in the bug tables 2011-05-18 00:36:00 +01:00
Kai Krueger
001ff5764b Merge branch 'master' into openstreetbugs2 2011-04-19 22:00:30 -06:00
Matt Amos
8b12abd5bb Phase 2 CTs implementation and tests, with config parameter 2011-04-03 13:46:16 +01:00
Tom Hughes
a1cb0f04d4 Merge branch 'master' into openstreetbugs
Conflicts:
	app/views/site/index.html.erb
2010-10-17 11:02:11 +01:00
Tom Hughes
71f1554212 Make trace API a proper CRUD API like other object types 2010-10-11 23:09:27 +01:00
Tom Hughes
160429e62d Merge branch 'master' into openstreetbugs
Conflicts:
	lib/osm.rb
2010-05-07 22:29:09 +01:00
Tom Hughes
20cc601f85 Fix tests for changes to user model 2010-05-06 22:11:55 +01:00
Kai Krueger
abf3358ce5 Fixed some minor bugs and add tests to spot them 2010-03-27 11:45:36 +00:00
Kai Krueger
4aec8dc3a5 minor improvement to the map_bugs tests 2010-03-21 12:04:15 +00:00
Kai Krueger
6d668f6f3a Add some rudimentary initial tests for the map bugs api 2010-03-17 23:43:32 +00:00
Shaun McDonald
3a16746650 Fix changeset fixtures as noted on the dev mailing list. http://lists.openstreetmap.org/pipermail/dev/2010-January/018283.html 2010-01-18 01:07:52 +00:00
Matt Amos
ca06b3c7b1 New migration to add better auditing to user_roles and better column names there and on user_blocks. Added a helper for displaying block status messages. 2009-09-29 16:44:03 +00:00
Matt Amos
09c5740b5b Merging 17824:17845 from trunk to blocking branch. 2009-09-29 10:23:31 +00:00
Thomas Wood
76b6d7d876 Tests for [17838]
Why is our testing fixtures such a mess? It took me half an hour to find a useable node. And I'm still not sure if it's ok, since I want to get to bed. kthxbye
2009-09-29 03:58:33 +00:00
Matt Amos
daa2496024 First version of blocking feature. Allows both time-based (for map protection) and notice-based (for education) blocks on users. Also introduces user roles and a simple UI for displaying and administering these. 2009-09-28 16:01:00 +00:00
Štefan Baebler
93c592bbe4 tests for diary rss feeds 2009-08-19 05:07:26 +00:00
Tom Hughes
908a6ef409 Merge 16891:17044 from trunk. 2009-08-13 17:18:08 +00:00
Tom Hughes
565171486f Add extra visibility options for GPS traces, and enhance the API call
that returns trace data to return more information if the owner of the
trace has allowed it. Based on a patch from Matt Amos.
2009-08-13 17:06:11 +00:00
Matt Amos
05e2120273 Merged 16488:16743 from trunk. 2009-07-31 10:42:06 +00:00
Matt Amos
44ec85fcad fixed gps_point coordinates and tile. why was this passing the tests before? 2009-07-30 15:19:07 +00:00
Tom Hughes
f4571eeb7c Revert r16046.
DO NOT COMMIT MAJOR ENHANCEMENTS TO TRUNK WITHOUT TALKING TO ME FIRST.
2009-06-23 02:48:38 +00:00
Matt Amos
b8f6dbd403 Adding initial version of the OAuth token authentication method. This adds basic OAuth support for registering apps, getting and revoking keys, etc... The tokens come with 6 separate permissions bits; read/write user preferences, write diaries, write API and read/write GPS traces. Needs more tests. 2009-06-22 16:54:37 +00:00
Tom Hughes
01e75a02dc More diary test fixes. 2009-05-30 16:59:06 +00:00
Tom Hughes
dda2ccafe7 Fix a couple of diary tests. 2009-05-30 16:51:56 +00:00
Shaun McDonald
f183bd8ec8 Some test improvements 2009-05-26 14:45:30 +00:00
Shaun McDonald
d5d4adb2f9 Fix the fixtures. Related changeset 15184. 2009-05-26 13:12:42 +00:00
Shaun McDonald
53b4d645d8 First stage of i18n. Some migrations and extra plugins. 2009-05-22 18:36:17 +00:00
Shaun McDonald
d23d2c9d05 Extra little test, setting the language on the diary fixtures. 2009-05-15 15:41:45 +00:00
Matt Amos
66ae650c95 Oops. Fixed another Time/DateTime problem. 2009-05-14 13:13:09 +00:00
Matt Amos
71192daef2 Fixed problem with Time vs. DateTime classes in fixtures. Weirdly only affected mysql backend. 2009-05-14 11:52:15 +00:00
Matt Amos
1ceb4ab9ba Fixed bug #1816 - the timeout updating logic should have been in a before_save handler, not in save_with_tags. 2009-05-12 13:54:37 +00:00
Tom Hughes
ed68d524de Use a local lookup table for country bounding boxes rather than relying
on geonames.org being able to do it in a reasonable time.
2009-05-11 16:50:09 +00:00
Shaun McDonald
d10931effa More trace tests 2009-05-06 14:58:48 +00:00
Shaun McDonald
44c5248c1a couple of fixes to the changeset upload delete 2009-04-30 17:25:53 +00:00
Shaun McDonald
db17af19bb fix more of the tests, particularly changeset controller. Needed more fixtures to fix them. The last failing changeset controller test needs some more work on the fixtures. 2009-04-29 22:25:49 +00:00
Shaun McDonald
dcca3ab0e9 More changeset test improvements. Another fixture was required for one of the tests 2009-04-29 17:29:58 +00:00
Shaun McDonald
f47ba4fb23 Fix the node and relation tests from when the users with data public=false were disallowed from editing. Needed extra fixtures. 2009-04-27 11:57:58 +00:00
Shaun McDonald
10fdeb2021 Make node update work with the new require data public to edit policy. Added convenience testing method for the require data public. Add 2 new fixtures that are owned by the public user. 2009-04-26 22:46:41 +00:00
Tom Hughes
77a34278ca Backout broken attempt at making case insensitive authentication work
on Postgres. As implemented this forces a table scan to authenticate
users which is ridiculous to save people pressing the shift key.
2009-04-23 23:46:45 +00:00
Shaun McDonald
f1a0331081 Hack a way to make the email and display name case insensitive for logging in, based on a suggestion by firefishy to use ILIKE. Changes requested from users on mailing list. Includes some tests to check the case insensitivity of the username, and and e-mail address on login. 2009-04-23 19:20:08 +00:00
Shaun McDonald
38e94c6baa fixing some of the relation tests. Some adjustments to the fixtures. 2009-04-22 00:42:23 +00:00
Matt Amos
0f111e7e2a Fixed formatting and stuff in fixtures. 2009-04-21 18:37:24 +00:00
Shaun McDonald
b27e534b2e Add new fixtures for testing multiple tags on a relation. 2009-04-21 17:54:59 +00:00
Shaun McDonald
0ad724bd92 Hopefully fix the old_node_controller tests. 2009-04-21 17:07:14 +00:00
Shaun McDonald
0dd0f1881d Fixing some of the tests, adding the new tests to make sure that you can't edit when your not a public user 2009-04-18 17:17:22 +00:00
Shaun McDonald
08bd1688ee Railsify the relation member model, type attribute, by putting it into class case, rather than lower case. Requires reload of postgres databases or manual change to the enum. Fixes the databrowser on postgres, however affects the rest of the codebase. 2009-04-15 14:49:21 +00:00
Matt Amos
568c05c548 Fixing failing potlatch tests. Someone who knows what the potlatch API is actually supposed to be doing should check these... 2009-03-25 17:54:21 +00:00
Tom Hughes
81835c55a0 Commit ACL related files from earlier merges as svn merge seems to
neglected to add them...
2009-03-08 16:13:00 +00:00
Matt Amos
76708eefcf Fixed bug in changeset closing and querying where the number of elements exceeded the maximum. Added a fixture for this. 2009-02-07 17:45:27 +00:00
Thomas Wood
747d6f1d11 Revert last commit - too many test failures 2008-12-31 16:43:44 +00:00