Tom Hughes
311f7ddd6e
Factor out common code for looking up users
2012-03-21 22:22:33 +00:00
Tom Hughes
a9824dbc2e
Use one "no_such_user" view everywhere
2012-03-21 21:47:09 +00:00
Tom Hughes
75300566e1
Move generation of role icons into a helper
2012-03-21 19:20:40 +00:00
Grant Slater
cf7116402b
Set required Flash version to 10.1.x per request of RichardF
2012-03-21 10:51:41 +00:00
Tom Hughes
66caf92bd9
Improve styling of notice boxes to match new sidebar styling
2012-03-21 10:43:05 +00:00
Tom Hughes
be585d1403
Improve styling of alert boxes to match new sidebar styling
2012-03-21 10:38:12 +00:00
Grant Slater
65b2b22729
Potlatch 2 compiled with Flex 4.5 requires Flash 10.2.0 or above
2012-03-21 09:01:59 +00:00
Tom Hughes
38a610fd31
Add functional tests for the user_roles controller
2012-03-20 17:21:13 +00:00
Tom Hughes
5f33656c8d
Get rid of custom CSRF protection for user role changes
...
By restricting role changes to POST requests, which they should be
anyway, we get all the rails CSRF protection for free.
2012-03-20 17:21:13 +00:00
Tom Hughes
f3c9f4edb4
Adjust spam scoring to try and reduce false positives
2012-03-20 13:28:57 +00:00
Tom Hughes
e1d873cde9
Add functional tests for user blocks
...
Also fixes various issues in the code discovered while writing
the tests, and adds some named routes for user blocks.
2012-03-19 11:26:02 +00:00
Tom Hughes
359371b31c
Handle reason as a rich text area when editing a block
2012-03-19 11:24:47 +00:00
Tristen Brown
a011d152a8
Tidy up the trace paging view
2012-03-18 11:34:43 +00:00
Tristen Brown
cf1d12fe7d
Make the disabled state of the primary menu items more obvious
2012-03-18 00:08:19 +00:00
Tom Hughes
d0980087d1
Don't display Markdown help when editing an old diary entry
2012-03-17 16:37:22 +00:00
Tom Hughes
64747f7604
Set the user description to markdown formatting when it changes
2012-03-17 16:37:22 +00:00
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
6039aac76e
Link to the Markdown spec
2012-03-17 16:36:59 +00:00
Tom Hughes
2a35f530bd
Add an HTML version of the diary comment notification mail
2012-03-17 16:36:58 +00:00
Tom Hughes
8f4a9a4b87
Make spam scoring work with new rich text system
2012-03-17 16:36:58 +00:00
Tom Hughes
5e4357dd14
Only reload the preview if the content has changed
2012-03-17 16:36:58 +00:00
Tom Hughes
eb789dbf75
Show an animation while a preview is loading
2012-03-17 16:36:58 +00:00
Tom Hughes
561f2f694a
Add preview functionality to rich text controls
2012-03-17 16:36:57 +00:00
Tom Hughes
b6163f0fc2
Grow text areas automatically in response to input
2012-03-17 16:36:57 +00:00
Tom Hughes
aa4205482a
Treat all newly entered blocks of text as Markdown
2012-03-17 16:36:55 +00:00
Tom Hughes
770a990ed9
It's zoomToExtent, not setExtent
2012-03-15 17:01:16 +00:00
Tom Hughes
13a98cf7eb
Disable the export button until a format is selected
2012-03-15 14:50:43 +00:00
Tom Hughes
d29a9dad9d
Removed code for handling Osmrender export requests
2012-03-15 14:43:03 +00:00
Tom Hughes
2c397321c9
Refactor calculation of zoom level based on a scale
2012-03-14 19:12:32 +00:00
Tom MacWright
701325e9ef
Change abstraction level for map functions
...
This commit should have no functional affect. It just changes the
abstraction level of OpenLayers from completely abstracting away
getMapExtent etc, to using OpenLayers's functionality directly but
providing proj and unproj to make projections palatable.
2012-03-14 19:01:45 +00:00
Tom Hughes
31ebfc8ed0
Add missing </div> tag
2012-03-14 18:29:19 +00:00
Tom Hughes
0884e7b431
Add _html suffixes to some resource strings which have changed
...
Where a translatable string contains (directly or indirectly via
interpolations) some HTML it is better to add an _html suffix to
the key rather than wrap the result in raw so that escaping is
handled automatically for interpolations.
It's not worth doing until a string is changed and needs to be
retranslated though, as it will just break translations.
2012-03-14 18:29:04 +00:00
Tom Hughes
fe5cbadf3d
Adjust width of donate box so it centres properly
2012-03-14 17:44:45 +00:00
Tom MacWright
dc48c9a510
Front page copy revision
...
This edits the front page copy to be more direct, link off to more
useful resources, and guide people to register for an account. It
also moves partner links to below the donate link.
2012-03-14 17:33:00 +00:00
Tom Hughes
3a1e7a67ac
Specify the username when redirecting to the OAuth client list
2012-03-14 13:57:28 +00:00
Tom Hughes
05aa7f377e
Adjust left and right padding on the introductory text
...
The sidebar changes have increased the padding for the search box
and links menu, so change the introductory text to match.
2012-03-14 10:13:28 +00:00
Tom MacWright
ae8cc604a1
Move the diary link to the sidebar
...
Restructure the links section in the sidebar to split it into two
major groups, help and community and move the diary link from a tab
to the community section of the sidebar.
2012-03-14 10:12:36 +00:00
Tom Hughes
60dfb92631
Generate correct links to language specific diary lists
2012-03-13 16:32:37 +00:00
Tom MacWright
d13f0b7088
Remove dead code
2012-03-13 08:46:58 +00:00
Tom Hughes
9ec887ec30
Don't escape HTML in the "user suspended" message
2012-03-13 08:42:32 +00:00
Tom Hughes
30f21edbc2
Fixed incorrect link generation in sent message list
2012-03-11 08:46:28 +00:00
Tom Hughes
c6710bba54
Fix incorrect link generation that relied on default routes
2012-03-11 00:12:18 +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
b255a333c5
Specify the username when generating a URL for a trace
2012-03-10 13:05:39 +00:00
Tom Hughes
a87540a5dd
Fix layout selection to detect OAuth correctly
2012-03-10 12:46:10 +00:00
Tom Hughes
5c74a6517c
Load the piwik tracking code asynchronously
2012-03-10 12:17:23 +00:00
Tom Hughes
e23313fbd4
Don't escape the heading as it contains a link
2012-03-09 23:15:40 +00:00
Tom Hughes
2351d02ed5
Fix mass assignment errors with user blocks
2012-03-09 23:15:39 +00:00
Tom Hughes
58d889436f
Fix various routing and route generation errors
2012-03-09 23:15:39 +00:00