Tom Hughes
eaefb3ea73
Improve consistency of selections in the browser controller
2013-09-30 08:45:19 +01:00
Tom Hughes
536d80c2b2
Fix typo
2013-09-30 08:35:34 +01:00
Tom Hughes
554a7c9d47
Convert some deprecated methods to modern arel syntax
2013-09-29 22:50:01 +01:00
Tom Hughes
6c51b3cc0a
Replace deprecated finder methods
2013-09-21 11:35:46 +01:00
Tom Hughes
e47080338a
Add a title to note browse pages
2013-05-20 17:46:43 +01:00
Tom Hughes
0037502426
Merge branch 'master' into notes
...
Conflicts:
Gemfile.lock
app/views/browse/_map.html.erb
app/views/site/index.html.erb
2012-10-13 15:55:34 +01:00
John Firebaugh
60becd1050
Remove @midnode assign
...
It does not appear to be necessary and no other edit links
make use of it. SiteController#edit will calculate a precise
center coordinate.
2012-09-30 12:19:15 +01:00
Tom Hughes
4d91fe3dd9
Merge branch 'master' into openstreetbugs
...
Conflicts:
Gemfile
app/helpers/application_helper.rb
app/views/site/index.html.erb
2012-09-20 16:01:24 +01:00
Tom Hughes
3d874a5d61
Use start.html.erb views instead of _sidebar.html.erb partials
2012-08-27 21:28:41 +01:00
John Firebaugh
17b23b0756
Extract browse.js static asset
2012-08-27 20:23:24 +01:00
John Firebaugh
2feff4244f
Reduce interpolation in browse/start.js.erb
2012-08-27 18:00:48 +01:00
Tom Hughes
0d3a9ed9cb
Merge branch 'master' into openstreetbugs
...
Conflicts:
Gemfile.lock
app/views/browse/_map.html.erb
app/views/user/view.html.erb
config/locales/en.yml
config/openlayers.cfg
db/structure.sql
vendor/assets/openlayers/OpenLayers.js
2012-08-22 20:52:08 +01:00
Tom Hughes
652e94485f
Use browser detection to decide how many features to show
...
Modern browsers are quite happy showing far more than 100 features in
the data browser, so increase the limit to 2000 by default, but keep it
restricted to 500 for IE8 and 100 for older IEs.
2012-06-05 12:59:13 +01:00
Tom Hughes
52e5fa6ad7
Merge branch 'master' into openstreetbugs
...
Conflicts:
app/views/browse/_map.html.erb
app/views/site/index.html.erb
config/initializers/mime_types.rb
config/routes.rb
lib/map_boundary.rb
lib/migrate.rb
lib/osm.rb
vendor/assets/openlayers/OpenLayers.js
2012-01-05 20:15:53 +00:00
Tom Hughes
8ae5d94b2f
Update some more queries to use AREL in place of deprecated methods
2011-11-14 09:42:51 +00:00
Tom Hughes
e3b8b89330
Mass rename of "bugs" as "notes" for increased user friendliness
2011-05-21 17:22:31 +01:00
Kai Krueger
001ff5764b
Merge branch 'master' into openstreetbugs2
2011-04-19 22:00:30 -06:00
Tom Hughes
7f955a4aca
Don't show user navigation links for non-public users
...
The changeset browser pages should not show the per-user navigation links
for changesets made by users that have not made their edits public.
2010-11-23 09:30:22 +00:00
Tom Hughes
50224b473b
Merge branch 'master' into openstreetbugs
...
Conflicts:
app/controllers/browse_controller.rb
2010-06-07 22:26:33 +01:00
Tom Hughes
cf682f49b3
Add a timeout to the change list pages
2010-05-21 20:21:41 +01:00
Tom Hughes
acbc99ac16
Merge branch 'master' into openstreetbugs
2010-04-19 21:30:42 +01:00
Tom Hughes
ae4ece2450
Don't send "408 Request timeout" responses from the data browser as it
...
seems to make some browsers automatically retry.
2010-04-19 14:28:02 +01:00
Kai Krueger
01aa270315
Add a browse page for bugs
2010-03-13 13:45:02 +00:00
Tom Hughes
8865543903
I really wish rails would stop trying to hide exceptions from me...
2010-01-13 13:34:59 +00:00
Tom Hughes
841ebe80d7
Use system_timer for timeouts to make them more reliable.
2010-01-11 09:28:31 +00:00
Tom Hughes
e0e849c91c
Add a 30 second timeout to all data browser requests to avoid attempts
...
to browse very large and/or complicated objects blocking other requests.
2010-01-07 16:09:44 +00:00
Thomas Wood
07725b4b4b
Changeset navigation by a particular user's changesets.
...
(Closes #1726 )
2009-06-19 23:56:15 +00:00
Thomas Wood
80ff70a1ff
Extend work started in [15970] to add edit link to way pages on databrowser.
2009-06-18 14:29:28 +00:00
Shaun McDonald
f3bcdd85d7
Some more i18n html titles
2009-05-31 16:51:20 +00:00
Tom Hughes
0e96027a20
Sort out storage and use of user preferred languages.
2009-05-31 14:55:45 +00:00
Tom Hughes
3d906fe8c6
Merge 15165:15373 from trunk.
2009-05-31 11:32:32 +00:00
Shaun McDonald
035254c5fb
Might be useful to set the locale everywhere we need the web, rather than just the diary entries.
2009-05-29 14:11:12 +00:00
Thomas Wood
22292debda
Data browser changes, make links more user friendly, displaying name tag where possible.
...
Changes to models ok'd (and suggested as temporary solution) by TomH
References #1777
2009-05-02 00:26:37 +00:00
Tom Hughes
5449cf4adc
Merge 14394:14533 from trunk.
2009-04-16 21:11:12 +00:00
Tom Hughes
80c6c685bc
Fix database check in browse controller.
2009-04-15 09:05:29 +00:00
Shaun McDonald
0f25285ab6
More tests, found a bug in the data browser, no fix yet. Fix db readme. Don't show the signup page to logged in users, by redirecting them to the home page. Remove unnessesary begin blocks in the browse controller.
2009-04-12 23:20:31 +00:00
Harry Wood
afe8dd51ec
Add 'history' tab + Move 'recent changes' changeset list to re-use the same _changeset.rhtml partial
2009-03-23 16:39:59 +00:00
Thomas Wood
747d6f1d11
Revert last commit - too many test failures
2008-12-31 16:43:44 +00:00
Thomas Wood
898beb7b7f
DateTime => Time for consistency in changeset code, ok by shaun.
2008-12-31 16:33:02 +00:00
Thomas Wood
8fe53e4823
Only show changesets that are actually closed in the index view.
2008-12-31 16:14:39 +00:00
Thomas Wood
62b6d15967
Make browse controller index show recently closed changesets, rather than recently changed nodes.
2008-12-23 15:47:06 +00:00
Shaun McDonald
2ed84e26cd
Adding pagination to the changesets, thus allowing you to browe large changesets, without MySQL complaining about memory. Probably needs some fine tuning. You currently can only page one of nodes, ways, and relations, without manually setting the relations. Fixing deprection notice for the classic_pagination plugin.
2008-11-27 17:06:43 +00:00
Shaun McDonald
e7147d0d7a
more work on the data browser to show the changesets. Also showing the version number. Would be good to have an additional route for showing a specific version of the node/way/relation from the changeset.
2008-10-14 18:33:03 +00:00
Shaun McDonald
2c16177174
adding changeset stuff for the data browser
2008-10-13 20:48:58 +00:00
Shaun McDonald
734cbb967d
fixing the data browser to be able to cope with the changeset change. changeset browsing still needs to be implemented. Also giving a nice error message for 404 not found instead of rendering nothing.
2008-10-13 12:08:26 +00:00
Tom Hughes
abb66fa808
Disable the data browswer when the database is not available.
2008-06-26 17:36:21 +00:00
Christopher Schmidt
1f0636d253
start no longer uses these nodes: don't query for them
2008-04-23 16:46:47 +00:00
Christopher Schmidt
d3314fee0f
Add recent nodes to start of tab, and return false from onclick actions
2008-04-22 04:28:37 +00:00
Christopher Schmidt
336a80530c
add in-map node/way browser
2008-04-21 23:18:08 +00:00
Christopher Schmidt
4ca38904dc
add navigation link
2008-04-20 21:44:05 +00:00