Andy Allan
191f6b3fcd
Build a diary entry more succinctly
2016-09-08 09:06:46 +01:00
Andy Allan
bb15077dcc
Assert there are no diary comments before creating one.
2016-09-08 09:06:26 +01:00
Andy Allan
ab12b6161a
Update name of test
2016-09-08 08:58:18 +01:00
Andy Allan
3b3f328ae4
Rework DiaryEntry and DiaryComment model tests to use factories.
...
Since the database also contains fixtures from other tests, some
counts are dropped and instead tested for inclusion in the results.
2016-09-07 16:27:21 +01:00
Andy Allan
d5013ad0d2
Add FactoryGirl
2016-09-07 15:28:28 +01:00
Simon Poole
0837205d02
Merge message when Gravatar status has changed with email confirmation
...
Merge message when Gravatar status has changed with email confirmation and make messages more verbose and friendly.
2016-08-19 08:59:40 +02:00
Simon Poole
90b7101cc3
Add tests for change of gravatar use depending on email
2016-08-16 22:09:11 +02:00
Simon Poole
8283a39dbc
Support returning a HTTP status code for the http stubs for testing
2016-08-16 21:42:02 +02:00
Simon Poole
05cd781b25
Remove default enabling of gravatar, check on initial confirmation of e-mail address and on any changes afterward if
...
a gravatar exists and enable then if the user hasn't uploaded a picture.
2016-08-16 21:42:02 +02:00
Tom Hughes
224252fd83
Add test for formatting of multi-value wikidata links
2016-08-16 19:27:40 +01:00
Florian Schäfer
3251cdf5d6
Added fixes for rubocop complaints
2016-07-14 15:22:52 +02:00
Florian M. Schäfer
10cde3bb92
Link the prefixed wikidata-tags to wikidata.org
...
With this commit, the prefixed wikidata-tags get linked to the
corresponding wikidata.org-page in the current interface-language.
Multiple semicolon-separated wikidata-IDs are shown as multiple
semicolon-separated links to wikidata.
This commit contains also some tests for those links.
2016-07-14 15:22:52 +02:00
Tom Hughes
c70a1fe933
Add support for GitHub authentication
2016-07-14 09:40:45 +01:00
Tom Hughes
dd8ebf9b09
Fix rubocop warnings
2016-07-13 09:50:23 +01:00
Tom Hughes
5fd4fd13c2
Update to rails 4.2.7
2016-07-13 09:14:01 +01:00
Tom Hughes
72e71b9972
Fix rubocop warnings
2016-06-09 22:18:28 +01:00
Tom Hughes
246d8a4452
Test titles in changeset feed
2016-03-14 21:18:26 +00:00
Simon Legner
6f144e8b7d
Show ref of object when no name is present
2016-03-09 18:47:54 +00:00
Tom Hughes
f94340b9e8
Fix tests that made assumptions about tag ordering
2016-03-09 13:47:05 +00:00
Tom Hughes
f0fa701563
Treeat user as logged in after a password reset
...
Fixes #1160
2016-02-26 16:30:32 +00:00
Tom Hughes
480c17be58
Preserve username and "remember me" when login fails
...
Fixes #1159
2016-02-26 15:32:40 +00:00
Aditya Prakash
80c46f54d4
Create new translation string for deleted user
2016-02-15 22:37:54 +05:30
Aditya Prakash
341f6cd9fe
Do not hyperlink profiles of deleted users
2016-02-15 20:47:53 +05:30
Tom Hughes
5d3ecffa28
Fix new rubocop warnings
2016-02-05 13:35:26 +00:00
Tom Hughes
77c25dca8c
Validate characters in changeset comments
...
Fixes #1135
Closes #1139
2016-01-19 09:51:24 +00:00
Tom Hughes
8fe1899596
Fix rubocop warnings
2016-01-19 09:51:24 +00:00
Tom Hughes
2ef6a960d1
Update bundle
2016-01-19 09:51:23 +00:00
Tom Hughes
1aff968589
Add some tests for the locale library
2016-01-07 18:45:18 +00:00
Tom Hughes
4028f4cdb9
Rework locale selection
...
Implement our own matching algorithm rather than trying to
patch the http_accept_language one and make sure everything is
using it in a consistent way.
Fixes #1125
2016-01-06 18:43:25 +00:00
Tom Hughes
67f3658431
Preserve URL fragments through external authentication
...
Fixes #1102
2015-12-12 16:08:09 +00:00
Bryan Housel
98e2884f77
Remove test for iD and Internet Explorer
2015-12-10 18:48:22 -08:00
Tom Hughes
03356be588
Use correct title in og:title for pages with no title
...
Fixes #1098
2015-12-07 15:54:06 +00:00
Tom Hughes
081ac24295
Fix rubocop warnings
2015-11-19 21:41:33 +00:00
Tom Hughes
c9fdd5d3cb
Don't send note comment notifications to deleted users
2015-10-30 19:20:36 +00:00
Tom Hughes
a082baebd7
Don't send changeset comment notifications to deleted users
2015-10-30 19:01:09 +00:00
Holger Jeromin
37a4fc6dd1
Add srcset to img tags inside picture elements
...
Some browsers (in particular Safari on iOS) don't support picture
yet but do support srcset on the img tag.
2015-09-15 08:48:50 +01:00
Tom Hughes
d377e8b4f2
Use picture elements to render some more graphics as SVG
2015-09-13 22:42:12 +01:00
Tom Hughes
fe4d50588d
Update test for changes in #903
2015-08-27 21:55:48 +01:00
Tom Hughes
41eb7a1407
Test rendering of OAuth authorization page
2015-08-19 08:35:41 +01:00
Tom Hughes
c9d35839be
Fix new rubocopy warnings
2015-08-18 20:57:14 +01:00
Tom Hughes
5dc3e5b48a
Don't show hidden notes to non-moderators in the user notes list
...
Fixes #921
2015-08-12 17:42:14 +01:00
Tom Hughes
caa1a0128a
Hide hidden notes and comments correctly in the data browser
2015-08-12 17:20:30 +01:00
Tom Hughes
1b6c214ab5
Add tests for new note GPX elements
2015-08-10 19:19:23 +01:00
Markus Heidelberg
166dc76ae9
Make notes GPX valid and add useful official elements
...
The "creator" attribute is required and "extensions" is the correct
name of this element.
Validated with SAXCount from the xerces-c package:
$ SAXCount -v=always -n -s -f notes.gpx
Original error messages:
Error at file /home/markus/notes.gpx, line 2, char 171
Message: no declaration found for element 'gpx'
Error at file /home/markus/notes.gpx, line 2, char 171
Message: attribute 'version' is not declared for element 'gpx'
After adding the "xmlns" attribute:
Error at file /home/markus/notes.gpx, line 2, char 213
Message: missing required attribute 'creator'
Error at file /home/markus/notes.gpx, line 18, char 14
Message: no declaration found for element 'extension'
Error at file /home/markus/notes.gpx, line 26, char 7
Message: element 'extension' is not allowed for content model '(ele?,time?,magvar?,geoidheight?,name?,cmt?,desc?,src?,link*,sym?,type?,fix?,sat?,hdop?,vdop?,pdop?,ageofdgpsdata?,dgpsid?,extensions?)'
The current errors now are caused by the missing XML schema for the
extensions.
Also add the time, name and link elements.
2015-08-10 19:11:18 +01:00
Tom Hughes
098d1fc235
Allow customer URL schemas for OAuth callback URLs
...
Fixes #1019
2015-07-28 12:13:18 +01:00
Tom Hughes
93a617fec9
Error if geocoder#search is called with no arguments
2015-07-26 22:58:41 +01:00
Tom Hughes
629ae62b73
Require a valid session token to resend a confirmation
...
Make user#confirm_resend require a valid token in the session
that matches the requested user, and ensure trying to login as
an unconfirmed user sets such a token.
Fixes #1010
2015-07-20 21:32:34 +01:00
Tom Hughes
e07890a2ad
Remove bogus mock data from facebook and windowslive tests
2015-06-08 16:27:04 +01:00
Tom Hughes
2b2264ddab
Add support for Windows Live authentication
2015-05-19 14:04:09 +01:00
Tom Hughes
c9893e186b
Add support for Facebook authentication
2015-05-19 14:04:08 +01:00