Commit graph

515 commits

Author SHA1 Message Date
Tom Hughes
7be823bb11 Treat messages received by email as plain text
Move creation of a message from an email into the message model and
adjust the logic to treat messages received by email as plain text.
2012-03-17 16:37:00 +00:00
Tom Hughes
8f4a9a4b87 Make spam scoring work with new rich text system 2012-03-17 16:36:58 +00:00
Tom Hughes
aa4205482a Treat all newly entered blocks of text as Markdown 2012-03-17 16:36:55 +00:00
Tom Hughes
917d7324a6 Avoid mass assignment error in spam observer 2012-03-10 14:42:09 +00:00
Tom Hughes
b471d757ca Removed expiry code for bogus trace URLs that no longer exist 2012-03-10 13:05:55 +00:00
Tom Hughes
1340fca8f1 Turn on mass assignment protection
Require any attribute that is going to be mass assigned to be
whitelisted, and whitelist those attributes which need it
2012-03-06 08:54:45 +00:00
Tom Hughes
5564bcabbf Detect changes to the user image correctly 2012-03-03 00:11:42 +00:00
Tom Hughes
f2150a94cf Serve up paperclip attachments in a cache friendly way 2012-02-21 12:31:38 +00:00
Tom Hughes
92feab9112 Make sure we don't inherit old tags when parsing XML for objects 2012-02-15 17:48:17 +00:00
Tom Hughes
5a8c4faf3e Replace deprecated methods with modern equivalents 2012-02-15 17:48:17 +00:00
Tom Hughes
9930b03388 Remove remnants of old lower case relation member types 2012-02-15 17:48:16 +00:00
Tom Hughes
e70396d70b Replace the file_column plugin with paperclip 2012-02-15 17:48:15 +00:00
Tom Hughes
52be0e81a0 Reduce the effect of the user description on the spam score 2012-02-15 16:24:43 +00:00
Tom Hughes
5e9414365c Make ACLs match when the address is equal 2012-02-12 14:53:07 +00:00
Tom Hughes
a16b45eb6a Add convenience methods to make ACL use simpler 2012-02-08 22:38:02 +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
beb0ef6357 Stop pretending we support MySQL 2012-02-08 14:08:49 +00:00
Tom Hughes
d1727377a8 Explicitly specify the format when expiring RSS feeds 2012-01-14 13:29:00 +00:00
Tom Hughes
7e267d4a0d Fix up case statement syntax for ruby 1.9 compatibility 2012-01-04 22:25:48 +00:00
Jason Meinzer
179fe4f715 Fix up case statement syntax for ruby 1.9 compatibility 2012-01-04 22:25:41 +00:00
Tom Hughes
f093b9a600 Replace @body with @text again... 2011-12-18 17:46:21 +00:00
Tom Hughes
78db9e72bb Convert friend changeset selection to use Arel queries 2011-12-15 21:47:43 +00:00
Tom Hughes
293265a00b Look up names and emails case insensitively for authentication
If the name entered is not found then try a case insensitive lookup
and if that finds a single result then use it.
2011-12-13 21:25:37 +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
ce4a6eefa7 Add an HTML version of the message notification email 2011-12-01 19:17:16 +00:00
Tom Hughes
5a98d6e4f1 Spell way_id correctly 2011-11-17 11:33:48 +00:00
Tom Hughes
7b89dc6349 Make OAuth work again 2011-11-16 21:13:25 +00:00
Tom Hughes
d4853bdc29 Looks like @body is special somehow so use @text instead 2011-11-15 14:49:38 +00:00
Peter Gray
95d899786a Refactor bounding box code
Moved duplicated code into the BoundingBox class, and pass around
BoundingBox objects instead of lists of bounds.
2011-11-14 09:42:57 +00:00
Tom Hughes
036632bad3 Avoid noise on console when running tests 2011-11-14 09:42:53 +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
3227f40193 Make more use of named scopes 2011-11-14 09:42:51 +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
1da4cecaf6 List all objects that are blocking a delete, in a well defined order 2011-11-14 09:42:49 +00:00
Tom Hughes
f8ace8f9e0 Cope with MESSAGES_DOMAIN not being defined 2011-11-14 09:42:48 +00:00
Tom Hughes
c00a3e948a Avoid using string interpolation in conditions 2011-11-14 09:42:48 +00:00
Tom Hughes
3d55db46ed Avoid use of deprecated methods on error objects 2011-11-14 09:42:45 +00:00
Tom Hughes
226c41be69 Update ActiveRecord queries to use arel 2011-11-14 09:42:44 +00:00
Tom Hughes
0dba53c023 Declare callbacks explicitly 2011-11-14 09:42:43 +00:00
Tom Hughes
56df4f3813 Update notifiers to use new ActionMailer API 2011-11-14 09:42:41 +00:00
Tom Hughes
17f4e58e46 Use before_validation with :on rather than before_validation_on_xxx 2011-11-14 09:42:40 +00:00
Tom Hughes
15ab888d0c Make sure asking a node for it's history returns an ordered list 2011-09-14 10:16:44 +01:00
Matt Amos
cb4f1e62a0 Don't compare changeset bbox coordinates when they may be nil
The code assumed that the changeset bounding box would only be
updated with a valid bounding box, but this isn't the case when
dealing with certain corner cases, including when removing
deleted members from relations.
2011-07-06 08:50:08 +01:00
Tom Hughes
ecbad776fb Expire user pages when their image changes 2011-06-15 09:51:56 +01:00
Tom Hughes
ce7b651eb2 Merge branch 'master' into openid 2011-06-10 19:11:08 +01:00
Tom Hughes
85e99d3127 Expire diary pages which contain comments by a user when necessary 2011-06-09 15:22:15 +01:00
Tom Hughes
31b2d45108 Only check some user validations when the field has changed 2011-06-07 00:22:23 +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
6d5c551a7c Simplify URL scheme name matching in OAuth callback URLs a little 2011-05-11 22:24:38 +01:00