]>
git.openstreetmap.org Git - rails.git/log
Tom Hughes [Thu, 16 Apr 2015 10:16:18 +0000 (11:16 +0100)]
Redirect to the login page if auth failure has no origin
Tom Hughes [Thu, 16 Apr 2015 10:14:57 +0000 (11:14 +0100)]
Prefer username/password to openid_url if both are set
Tom Hughes [Sat, 28 Feb 2015 17:35:57 +0000 (17:35 +0000)]
Add tests for Google OAuth authentication
Tom Hughes [Sat, 28 Feb 2015 15:56:41 +0000 (15:56 +0000)]
Add support for Google OAuth2 authentication
This replaces OpenID authentication, which is going away soon, but
provides an upgrade path where we can migrate users that already have
a Google OpenID setup to the new system transparently.
Tom Hughes [Tue, 14 Apr 2015 09:07:38 +0000 (10:07 +0100)]
Load user_blocks fixtures for login test
Tom Hughes [Tue, 14 Apr 2015 08:30:47 +0000 (09:30 +0100)]
Fix style issues found by new rubocop version
Tom Hughes [Tue, 14 Apr 2015 08:22:44 +0000 (09:22 +0100)]
Update bundle
Štefan Baebler [Sat, 4 Apr 2015 13:10:05 +0000 (15:10 +0200)]
Added information about sources for Slovenia
Štefan Baebler [Sat, 4 Apr 2015 06:31:03 +0000 (08:31 +0200)]
Updated wiki link data
Fixes #943
Tom Hughes [Tue, 31 Mar 2015 19:48:31 +0000 (20:48 +0100)]
Allow space as a language separator
The separator is supposed to be comma, so technically having
space instead is user error, but it seems to be very common.
Fixes #942
Tom Hughes [Tue, 31 Mar 2015 13:31:51 +0000 (14:31 +0100)]
Send OpenID logging to rails log
Tom Hughes [Tue, 31 Mar 2015 13:03:10 +0000 (14:03 +0100)]
Configure CA path for OpenID
Tom Hughes [Mon, 30 Mar 2015 23:13:16 +0000 (00:13 +0100)]
Update travis configuration for apt addoon changes
Tom Hughes [Mon, 30 Mar 2015 20:15:19 +0000 (21:15 +0100)]
Drop memory limit support
The soft limit won't work with passenger 5 and causes spurious
errors to be reported back to browsers, and in any case it doesn't
actually seem to be necessary anymore.
Tom Hughes [Mon, 30 Mar 2015 20:19:44 +0000 (21:19 +0100)]
Remove workaround for fixed bug in passenger
Tom Hughes [Mon, 23 Mar 2015 08:35:58 +0000 (08:35 +0000)]
Move ruby-progressbar back to 1.7.1 for now
Tom Hughes [Sat, 21 Mar 2015 15:47:33 +0000 (15:47 +0000)]
Update to rails 4.2.1
Tom Hughes [Sat, 21 Mar 2015 15:46:04 +0000 (15:46 +0000)]
Drop incorrect Station suffix for railway=subway
Fixes #934
Tom Hughes [Tue, 17 Mar 2015 18:49:39 +0000 (18:49 +0000)]
URI encode the X-Page-Title header
Browsers's are inconsistent in how they interpret the encoding
of a response header in an XHR request, so URI encode it so that
it simple ASCII we can then decode it again in the browser.
Tom Hughes [Mon, 16 Mar 2015 20:48:55 +0000 (20:48 +0000)]
Fix some validation issues
Tom Hughes [Mon, 16 Mar 2015 20:29:40 +0000 (20:29 +0000)]
Remove inline styling
Tom Hughes [Mon, 16 Mar 2015 20:26:59 +0000 (20:26 +0000)]
Simplify close icon for routing panel and fix validation error
Tom Hughes [Wed, 11 Mar 2015 17:54:58 +0000 (17:54 +0000)]
Attach labels to fields on the login page
Grant Slater [Thu, 12 Mar 2015 14:05:13 +0000 (14:05 +0000)]
Add Vagrant cachier plugin support if available
Tom Hughes [Tue, 10 Mar 2015 12:10:12 +0000 (12:10 +0000)]
Monkey patch the port number in the rack request
https://github.com/phusion/passenger/issues/1421
Tom Hughes [Mon, 9 Mar 2015 22:30:54 +0000 (22:30 +0000)]
Update bootstrap code
Tom Hughes [Mon, 9 Mar 2015 22:29:18 +0000 (22:29 +0000)]
Display tooltips on the right for RTL languages
Fixes #925
Tom Hughes [Mon, 9 Mar 2015 21:01:10 +0000 (21:01 +0000)]
Style site status notices
Tom Hughes [Mon, 9 Mar 2015 20:54:33 +0000 (20:54 +0000)]
Fix offline mode
Tom Hughes [Mon, 9 Mar 2015 00:58:38 +0000 (00:58 +0000)]
More work on user tests
Tom Hughes [Mon, 9 Mar 2015 00:17:08 +0000 (00:17 +0000)]
Remove unreachable code
Tom Hughes [Mon, 9 Mar 2015 00:15:05 +0000 (00:15 +0000)]
Reset the locale after tests that may change it
Tom Hughes [Mon, 9 Mar 2015 00:08:12 +0000 (00:08 +0000)]
Load changeset comments for API tests
Tom Hughes [Sun, 8 Mar 2015 23:02:04 +0000 (23:02 +0000)]
A few more edge cases
Tom Hughes [Sun, 8 Mar 2015 19:55:45 +0000 (19:55 +0000)]
Yet more tests...
Tom Hughes [Sun, 8 Mar 2015 18:01:19 +0000 (18:01 +0000)]
Test some missing cases in the way controller
Tom Hughes [Sun, 8 Mar 2015 16:47:35 +0000 (16:47 +0000)]
Ever more tests...
Florian Schäfer [Sat, 7 Mar 2015 22:15:49 +0000 (23:15 +0100)]
Change cursor to 'move' when hovering routing markers
Grant Slater [Sun, 8 Mar 2015 00:52:34 +0000 (00:52 +0000)]
Fix VAGRANT.md for rails 4.2.x
Rails 4.2.x now binds to 127.0.0.1 by default, so bind to 0.0.0.0 to
work with vagrant port forwarding.
Tom Hughes [Sun, 8 Mar 2015 00:48:13 +0000 (00:48 +0000)]
More test work
Tom Hughes [Sat, 7 Mar 2015 11:12:17 +0000 (11:12 +0000)]
Reduce duplication in the oauth tests
Tom Hughes [Sat, 7 Mar 2015 00:50:35 +0000 (00:50 +0000)]
Add a few more tests
Tom Hughes [Thu, 5 Mar 2015 00:34:06 +0000 (00:34 +0000)]
Remove duplicate search handlers
Fixes #922
Tom Hughes [Thu, 5 Mar 2015 00:16:26 +0000 (00:16 +0000)]
Avoid relying on the order in which emails are sent
Tom Hughes [Wed, 4 Mar 2015 21:49:43 +0000 (21:49 +0000)]
Tests!
Tom Hughes [Tue, 3 Mar 2015 01:18:25 +0000 (01:18 +0000)]
Load API fixture for the search controller tests
Tom Hughes [Tue, 3 Mar 2015 00:55:19 +0000 (00:55 +0000)]
Add extra tests for API and redaction controllers
Tom Hughes [Mon, 2 Mar 2015 21:46:04 +0000 (21:46 +0000)]
Load friends fixtures for diary entry tests
Tom Hughes [Mon, 2 Mar 2015 21:20:01 +0000 (21:20 +0000)]
Yet more tests...
Tom Hughes [Mon, 2 Mar 2015 00:39:35 +0000 (00:39 +0000)]
Test changeset and note comment notification emails
Tom Hughes [Mon, 2 Mar 2015 00:08:46 +0000 (00:08 +0000)]
Load user_roles for permissions
Tom Hughes [Mon, 2 Mar 2015 00:06:02 +0000 (00:06 +0000)]
Remove unused code
Tom Hughes [Sun, 1 Mar 2015 23:05:18 +0000 (23:05 +0000)]
Testing, testing, testing...
Tom Hughes [Sun, 1 Mar 2015 19:22:46 +0000 (19:22 +0000)]
Use Faraday in place of Net::HTTP so we can mock responses
Tom Hughes [Sun, 1 Mar 2015 17:23:17 +0000 (17:23 +0000)]
Fix rubocop warnings
Tom Hughes [Sun, 1 Mar 2015 17:04:39 +0000 (17:04 +0000)]
The test train rolls ever onwards...
Tom Hughes [Sun, 1 Mar 2015 16:17:08 +0000 (16:17 +0000)]
Remove unused method
Tom Hughes [Sun, 1 Mar 2015 14:07:25 +0000 (14:07 +0000)]
Fix some tests
Tom Hughes [Sun, 1 Mar 2015 12:59:53 +0000 (12:59 +0000)]
Moar tests!
Tom Hughes [Sun, 1 Mar 2015 10:48:10 +0000 (10:48 +0000)]
Drop the old output_compression plugin
The production servers all have mod_deflate enabled anyway, which
almost certainly does a better job of compression than this.
Tom Hughes [Sun, 1 Mar 2015 00:44:32 +0000 (00:44 +0000)]
More test coverage improvements
Tom Hughes [Sat, 28 Feb 2015 15:53:32 +0000 (15:53 +0000)]
Make sure we give iD uncompressed XML for a trace
See #745
Tom Hughes [Sat, 28 Feb 2015 07:38:12 +0000 (07:38 +0000)]
Reset locale after tests which change it finish
Tom Hughes [Sat, 28 Feb 2015 01:00:30 +0000 (01:00 +0000)]
Load user_blocks as an API fixture
Tom Hughes [Sat, 28 Feb 2015 00:45:56 +0000 (00:45 +0000)]
More work on test coverage
Tom Hughes [Fri, 27 Feb 2015 17:02:34 +0000 (17:02 +0000)]
Fix typo
Fixed #916
Tom Hughes [Fri, 27 Feb 2015 17:00:28 +0000 (17:00 +0000)]
Fix OSRM directions issues
Don't rely on trailing spaces in translation strings as they
aren't reliably preserved, and make "exit" translatable.
Fixes #915
Tom Hughes [Fri, 27 Feb 2015 10:28:21 +0000 (10:28 +0000)]
Enable bundle caching in travis
Tom Hughes [Fri, 27 Feb 2015 10:04:40 +0000 (10:04 +0000)]
Fix validation failures for trace tags
Fixes #914
Tom Hughes [Fri, 27 Feb 2015 07:08:55 +0000 (07:08 +0000)]
Fix rubocop warnings
Tom Hughes [Fri, 27 Feb 2015 00:40:37 +0000 (00:40 +0000)]
Improve test coverage
Tom Hughes [Thu, 26 Feb 2015 18:56:56 +0000 (18:56 +0000)]
Add Coveralls support
Tom Hughes [Thu, 26 Feb 2015 18:39:31 +0000 (18:39 +0000)]
Cancel any outstanding route when starting a new one
Fixes #913
Tom Hughes [Thu, 26 Feb 2015 14:06:25 +0000 (14:06 +0000)]
Set an explicit image when dragging from the routing panel
This may help with #912 but at the very least it gives us a full size
image consistent with dragging marker that is already on the map.
Peter Karich [Thu, 26 Feb 2015 12:21:25 +0000 (13:21 +0100)]
GraphHopper directions updates
Add support for roundabouts in directions, update the URL for the
documenation and explicitly excludes elevation data (which requires
a custom polyline decoder) from the results.
Tom Hughes [Thu, 26 Feb 2015 08:58:43 +0000 (08:58 +0000)]
Remove empty locales from iD
https://github.com/openstreetmap/iD/issues/2528
Tom Hughes [Wed, 25 Feb 2015 18:49:21 +0000 (18:49 +0000)]
Fix some rubocop rails style issues
Tom Hughes [Wed, 25 Feb 2015 11:16:10 +0000 (11:16 +0000)]
Force coordinates into bounds when using the query tool
Tom Hughes [Sun, 22 Feb 2015 12:20:04 +0000 (12:20 +0000)]
Convert OpenID authentication to generic third party authentication
Tom Hughes [Sat, 21 Feb 2015 16:41:52 +0000 (16:41 +0000)]
Rework OpenID tests for new flows using OmniAuth mocking
Tom Hughes [Sat, 21 Feb 2015 12:41:42 +0000 (12:41 +0000)]
Convert OpenID authentication to use OmniAuth
Tom Hughes [Wed, 25 Feb 2015 01:06:55 +0000 (01:06 +0000)]
Set fixture class when using gpx_files
Tom Hughes [Wed, 25 Feb 2015 00:32:12 +0000 (00:32 +0000)]
Add rails cops to rubocop todo
Tom Hughes [Tue, 24 Feb 2015 20:45:55 +0000 (20:45 +0000)]
Fix more rubocop style issues
Tom Hughes [Tue, 24 Feb 2015 19:45:43 +0000 (19:45 +0000)]
Add JSHint to travis configuration
Tom Hughes [Tue, 24 Feb 2015 19:45:10 +0000 (19:45 +0000)]
Fix remaining JSHint issues
Tom Hughes [Tue, 24 Feb 2015 17:04:25 +0000 (17:04 +0000)]
Fix path for icons in the leaflet images directory
Fixes #910
Tom Hughes [Tue, 24 Feb 2015 12:42:18 +0000 (12:42 +0000)]
Restore templating to embed.js
The embed.js file is special because it is used standalone without the
rest of our javascript environment. Closes #909.
Tom Hughes [Tue, 24 Feb 2015 00:30:25 +0000 (00:30 +0000)]
Fix some more JSHint issues
Tom Hughes [Tue, 24 Feb 2015 00:19:08 +0000 (00:19 +0000)]
Move some javascript functions out of global scope
Tom Hughes [Mon, 23 Feb 2015 22:34:04 +0000 (22:34 +0000)]
More fixes to fixture loading in tests
Tom Hughes [Mon, 23 Feb 2015 20:47:38 +0000 (20:47 +0000)]
Fix some JSHint complaints
Tom Hughes [Mon, 23 Feb 2015 21:42:54 +0000 (21:42 +0000)]
Add JSHint support
Tom Hughes [Mon, 23 Feb 2015 21:18:39 +0000 (21:18 +0000)]
Eliminate templating from most javascript
Tom Hughes [Mon, 23 Feb 2015 21:44:51 +0000 (21:44 +0000)]
Move querystring.js to vendor tree
Tom Hughes [Sun, 22 Feb 2015 21:54:22 +0000 (21:54 +0000)]
Load extra fixtures need for user controller tests
Tom Hughes [Sun, 22 Feb 2015 19:44:31 +0000 (19:44 +0000)]
Load user_roles fixtures so we know who is an administrator
Tom Hughes [Sun, 22 Feb 2015 19:26:53 +0000 (19:26 +0000)]
Load language fixtures before running the language tests
Tom Hughes [Sun, 22 Feb 2015 19:10:15 +0000 (19:10 +0000)]
Move memcached for caching if enabled regardless of environment
Tom Hughes [Sun, 22 Feb 2015 15:59:29 +0000 (15:59 +0000)]
Drop iconv which is deprecated and only needed for ruby 1.8 support