Tom Hughes
2bdd542d9b
Require the migration support code
2014-05-12 15:55:00 +01:00
Tom Hughes
360333d37d
Modernise use of find and update_all in database migrations
2014-04-27 19:18:35 +01:00
Tom Hughes
e36aa53f49
Update to paperclip 4.x and add content type validation
2014-02-10 00:34:23 +00:00
Tom Hughes
8accdb9259
Remove code to populate countries table
2014-01-17 19:57:58 +00:00
Tom Hughes
42b329ed82
Replace the country table with a static XML countries file
...
Storing the countries in the database is overkill, so just use a
copy of the geonames countryInfo data that is loaded into a hash
the first time it is used.
2014-01-17 19:25:58 +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
0c8ed1938b
Add an index on created_at to the note_comments table
2013-12-12 12:50:05 +00:00
Tom Hughes
95e8c63c2a
Fix rails 4 compatibility issues in migrations
2013-09-21 12:03:53 +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
31a031be26
Convert author_ip to a proper INET field
2012-12-03 14:50:55 +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
7599f98957
Merge branch 'master' into notes
...
Conflicts:
Gemfile
Gemfile.lock
app/assets/stylesheets/common.css.scss
app/helpers/application_helper.rb
2012-11-20 19:08:30 +00:00
Paweł Paprota
ad43499205
Implemented Gravatar support
2012-10-18 18:59:38 +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
Tom Hughes
99a2b549d4
Drop renaming of sequences
...
Rails seems to rename sequences automatically now when the
corresponding table is renamed, so we don't need to do it.
2012-10-13 11:49:37 +01:00
Tom Hughes
a63b22a9af
Fix require paths in migrations
2012-10-13 11:33:16 +01:00
Paweł Paprota
67a03d44a1
Display a diary entry count on the user page
2012-10-07 16:17:01 +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 MacWright
221ca3c1fa
Improve user page navigation menu
...
Add counts to edits, blocks, and traces; don't show blocks if there
are none; and move OAuth to the settings page.
2012-08-10 08:26:48 +01:00
Matt Amos
851de28303
Added redactions resource
2012-04-05 13:50:15 +01:00
Matt Amos
822759075c
Add redactions table and link it to history tables
2012-04-04 08:43:44 +01:00
Tom Hughes
19b6221b32
Drop the sessions table
2012-03-28 10:07:58 +01:00
Tom Hughes
3b0ff552de
Add "text" to the valid formats
2012-03-18 13:19:44 +00:00
Tom Hughes
aa4205482a
Treat all newly entered blocks of text as Markdown
2012-03-17 16:36:55 +00:00
Tom Hughes
e660e60966
Merge branch 'master' into openstreetbugs
...
Conflicts:
Gemfile
Gemfile.lock
lib/migrate.rb
2012-03-08 18:23:27 +00:00
Tom Hughes
1cc882b23f
Fix migration to work with mass assignment protection
2012-03-06 19:00:49 +00:00
Tom Hughes
eae5192957
Add image fingerprints to users
2012-02-20 11:53:39 +00:00
Tom Hughes
e70396d70b
Replace the file_column plugin with paperclip
2012-02-15 17:48:15 +00:00
Tom Hughes
cd43529cc8
Add support for domain based ACLs
2012-02-08 21:40:21 +00:00
Tom Hughes
9c0d5277ad
Combine the address and netmask for an ACL in one column
2012-02-08 14:09:50 +00:00
Tom Hughes
3e99bbf5a9
Remove lib prefix from includes for ruby 1.9 compatibility
2012-01-05 20:33:19 +00: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
Jason Meinzer
1a65b3ac6f
Qualify ActiveRecord::IrreversibleMigration
2012-01-04 22:25:53 +00:00
Jason Meinzer
1aa7b3b6a8
Fix ruby 1.9 syntax error caused by space before parens on method call
2012-01-04 22:25:53 +00:00
Tom Hughes
af2b13c2c1
Require user names and emails to be case insensitively unique
...
Any existing clashes are allowed to remain for now, byt any new
accounts, or changes to names on existing accounts, must be unique
without regard to case.
2011-12-12 19:11:06 +00:00
Tom Hughes
7b89dc6349
Make OAuth work again
2011-11-16 21:13:25 +00:00
Tom Hughes
fc25c3d412
Rename all ID columns that aren't unique
...
Having a table with a column called ID that is only part of the
primary key really doesn't work as rails likes to treat ID as a
special name so it becomes impossible to assign to it or read it.
2011-11-14 09:42:52 +00:00
Tom Hughes
e1213a4651
Use Rails.xxx instead of RAILS_XXX
2011-11-14 09:42:40 +00:00
Tom Hughes
7c98b41cc8
Merge branch 'master' into openstreetbugs
2011-06-22 22:36:43 +01:00
Tom Hughes
e3b8b89330
Mass rename of "bugs" as "notes" for increased user friendliness
2011-05-21 17:22:31 +01:00
Tom Hughes
832b96b75a
Merge branch 'master' into openid
...
Conflicts:
app/controllers/user_controller.rb
app/views/user/terms.html.erb
test/fixtures/users.yml
2011-05-21 12:14:56 +01:00
Tom Hughes
882700c5c8
Rename some columns and indexes in the bug tables
2011-05-18 00:36:00 +01:00
Tom Hughes
fb4d003ebe
Tidy up some of the map bugs code
2011-05-07 13:05:39 +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
0ea9f92be5
Merge branch 'master' into openid
...
Conflicts:
app/controllers/user_controller.rb
2010-12-05 15:15:55 +00:00
Matt Amos
cd66a5db99
Initial work on support for multiple editors
2010-11-29 12:20:21 +00: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
f70feedc65
Merge branch 'master' into openid
2010-09-24 09:35:36 +01:00