Commit graph

19 commits

Author SHA1 Message Date
Tom Hughes
9e75b8472f Convert oauth authorization form to use bootstrap 2020-09-04 00:36:43 +01:00
Andy Allan
5aa255e13f Use _html suffix to avoid using raw when displaying translated strings
This is safer than raw, since any user input is still escaped.
2020-01-02 17:43:34 +01:00
Tom Hughes
3af16f6337 erblint: fix remaining single quoted strings 2019-03-27 16:15:19 +00:00
Andy Allan
19c26e70a3 Rename user#view to user#show 2018-09-05 14:21:01 +08:00
Edward Betts
196ac7c0d5 Wrap the permission label with a <label> tag
Gives the user a larger target to toggle a permission.
2018-05-24 15:41:32 +01:00
Andy Allan
8445561fcc Use lazy translation lookups for the oauth controller. 2018-04-25 15:42:34 +08:00
Andy Allan
c819bec8b7 Use a current_user helper for accessing the logged in user in all views. 2017-07-27 10:07:51 +01:00
Tom Hughes
dff0eef787 Remove inline styles 2017-03-05 19:51:01 +00:00
Tom Hughes
036519a448 Add missing parenthesis
Fixes #1037
2015-08-19 08:25:41 +01:00
Tom Hughes
4f31859c4a Make button on OAuth authorization screen translatable
Fixes #1025
2015-08-18 19:19:35 +01:00
Tom Hughes
a9f4549327 Tidy up the OAuth authorization screens
Make sure all messages are translatable, separate errors from
user initiated denial of authorization.
2013-11-30 12:25:22 +00:00
Saman Bemel-Benrud
a36f3558dd Site cleanup
I set out to do a quick and dirty typography overhaul to make things
more consistent and a bit cleaner, but I kept running into things I
didn't like, so this lead me down something of a rabbit hole of design
tweaks to the OSM site.

Goals here are to have better content hierarchy, better vertical
rhythm, more consistent UI, cleaner markup with less tables, all while
keeping the basics pretty much intact. There are a lot of things I
didn't touch even though they need to be updated (lots of tables where
stuff shouldn't be tables, mostly).

Basic overview of changes:

I added a new persistent header that helps segment pages. It's now
a lot easier to know what you're looking at. The header has a page
title, a description, plus a submenu of actions.

There is now a pattern of 20px/10px margins and padding for more
rhythm and breathing room throughout the site.

I know there are other problems here or things I've missed - would
love another set of eyes to look over this! I am still getting comfortable
working on the site - it's my first time ever digging into a ruby or rails
so I'm not familiar with the templating language yet.
2013-01-14 21:27:08 +00:00
Tom Hughes
7b89dc6349 Make OAuth work again 2011-11-16 21:13:25 +00:00
Tom Hughes
b25a468e3c Use <%= instead of <% for block helpers that use concat 2011-11-14 09:42:41 +00:00
Tom Hughes
67a50468c5 Show the name of the logged in user during OAuth authorization 2011-07-01 20:38:41 +01:00
Tom Hughes
2150d1021e Display the verifier if OAuth 1.0a is being used in OOB mode 2010-09-21 16:20:30 +01:00
Tom Hughes
173e92edb8 Cleanup some of the oauth stuff:
- Detabify views.
- Move translations to correct names.
- Make flash messages translatable.
2009-08-19 07:59:15 +00:00
Matt Amos
7c1cde7035 Removed file which isn't needed any more. 2009-08-03 15:20:38 +00:00
Matt Amos
b8f6dbd403 Adding initial version of the OAuth token authentication method. This adds basic OAuth support for registering apps, getting and revoking keys, etc... The tokens come with 6 separate permissions bits; read/write user preferences, write diaries, write API and read/write GPS traces. Needs more tests. 2009-06-22 16:54:37 +00:00