Commit graph

387 commits

Author SHA1 Message Date
Tom Hughes
282ff4936c Fix rubocop warnings 2016-10-31 21:24:10 +00:00
Tom Hughes
e17b89e89f Fix rubocop warnings 2016-10-20 22:35:51 +01:00
Tom Hughes
5f4dcd34ff Fix some rubocop warnings 2016-09-15 22:41:07 +01:00
Bryan Housel
1b1693b8fe Prioritize next upcoming event in banner rotation
(closes #1284)
2016-09-14 15:03:41 -04:00
Matt Amos
757a1aaa85 Made rubocop happy by formatting and minor syntax tweaks. 2016-08-22 17:24:10 +01:00
Shrey
916f2c9036 Added helper + minor UI changes
(cherry picked from commit 3a6550ff54eb08ec282d13ebf85dc3461cca2983)
2016-08-22 16:18:15 +01:00
Shrey
69c1f6d186 Added sortable headers + search + reportable Notes 2016-08-22 16:18:15 +01:00
Shrey
206e1309a9 Added report icon + changes to admin UI + changes to report form + few other minor changes 2016-08-22 16:17:54 +01:00
Shrey
732e1ab03a Fixed link to DiaryComments 2016-08-22 16:17:54 +01:00
Shrey
b68b29b43c Added support for reporting Changesets + Deleting issues from the CLI 2016-08-22 16:17:54 +01:00
Shrey
d1d4f8192d DB changes + Related issues added 2016-08-22 16:16:31 +01:00
Shrey
bdc6adddbf basic UI for reporting diary entries,diary entry comments and user profiles 2016-08-22 16:15:12 +01:00
Shrey
d49922eb63 Added authorization + issues dashboard 2016-08-22 16:14:10 +01:00
Shrey
453f758f91 Controllers + a few tests + new notification added. Work pending on the notification view 2016-08-22 16:13:31 +01:00
Tom Hughes
47e6637f18 Fix rubocop warnings 2016-08-16 19:27:14 +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
49edb79711 Rename cookie_id to banner_cookie 2016-06-23 09:04:07 +01:00
Bryan Housel
2ada0591b8 Pacify rubocop 2016-06-22 14:05:13 -04:00
Bryan Housel
9e3dc420f3 Load banner config from config/banners.yml 2016-06-22 13:37:57 -04:00
Bryan Housel
3e82a36743 Add end dates to banners 2016-06-22 13:08:27 -04:00
Bryan Housel
e14ec1547e Refactor banner logic into BannerHelper module 2016-06-22 08:19:13 -04:00
Tom Hughes
72e71b9972 Fix rubocop warnings 2016-06-09 22:18:28 +01:00
Simon Legner
5175ee68b0 Add title to changeset feeds
Fixes #1051
Closes #1180
2016-03-14 21:09:53 +00:00
Simon Legner
6f144e8b7d Show ref of object when no name is present 2016-03-09 18:47:54 +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
be624d64f3 Avoid using Rails.application.assets as it no longer set in production 2016-02-11 10:15:19 +00:00
Tom Hughes
8fe1899596 Fix rubocop warnings 2016-01-19 09:51:24 +00:00
Tom Hughes
18b8fc60bb Add rel=nofollow to links to tagless nodes in browse pages 2015-12-20 00:19:16 +00: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
243129b671 Add og:description to OpenGraph tags 2015-10-27 12:02:13 +00:00
Tom Hughes
c8640c8f82 Add og:url to OpenGraph tags 2015-10-27 12:01:58 +00:00
Tom Hughes
18d26c0d81 Use PNG logo for og:image 2015-10-27 12:01:44 +00:00
Tom Hughes
e62e879b3b Add more detail to OpenGraph tags
Closes #1073
2015-10-26 22:27:21 +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
c9d35839be Fix new rubocopy warnings 2015-08-18 20:57:14 +01:00
Tom Hughes
4676179879 Improve display of user block timestamps
Display the creation time, as a friendly date with a tooltip for
the exact time, and add a tooltip to the expiry time.

Fixes #923 and #996
2015-06-25 17:44:20 +01:00
Tom Hughes
ca213b873f More improvements to mediawiki fragment escaping
It turns out that the PHP urlencode encodes more characters than
the ruby URI.encode does by default, so specify our own characters
to encode based on http://php.net/manual/en/function.urlencode.php
with the extra exclusion of colon, which the mediawiki code reverses
after the encoding is done.

Fixes #967
2015-05-15 15:34:12 +01:00
Tom Hughes
b40353b9b0 Escape fragment identifiers in wikipedia URLs
Fixes #967
2015-05-14 20:34:25 +01:00
Tom Hughes
eeb9866d50 Add support for Google OAuth2 authentication
This replaces OpenID authentication, which is going away soon, but
provides an upgrade path where we can migrate users that already have
a Google OpenID setup to the new system transparently.
2015-04-14 10:08:07 +01:00
Tom Hughes
2af0840ff3 Fix style issues found by new rubocop version 2015-04-14 09:38:24 +01:00
Tom Hughes
e2aef40437 URI encode the X-Page-Title header
Browsers's are inconsistent in how they interpret the encoding
of a response header in an XHR request, so URI encode it so that
it simple ASCII we can then decode it again in the browser.
2015-03-17 18:49:39 +00:00
Tom Hughes
f04211b172 Improve test coverage 2015-02-27 00:40:37 +00:00
Tom Hughes
e434cb154c Convert OpenID authentication to generic third party authentication 2015-02-25 01:07:23 +00:00
Tom Hughes
b0150caee6 Convert OpenID authentication to use OmniAuth 2015-02-25 01:07:23 +00:00
Tom Hughes
a6b84a0294 Fix more rubocop style issues 2015-02-24 23:12:02 +00:00
Tom Hughes
8e404f3a46 Fix some more rubocop style issues 2015-02-20 20:39:52 +00:00
Tom Hughes
dc2a2c8ebd Standardise on double quoted strings 2015-02-20 19:47:26 +00:00