Commit graph

8 commits

Author SHA1 Message Date
Mike Greiling
f8520f5d09 remove manual Cookie.set "path" option in favor of global setting 2016-10-24 18:09:00 -05:00
Mike Greiling
67d2b2acb3 replace jquery.cookie vendor script with js.cookie 2016-10-24 18:09:00 -05:00
Jared Deckard
7f6474b269 Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
Mike Greiling
33694a5a64 use gitlab global root url as canonical base url for all javascript set cookies (closes #20435) 2016-08-24 22:11:28 -05:00
Jack Davison
6c1ed00afc Award tooltips refer to current user as "You" 2016-08-17 21:25:39 +01:00
Jack Davison
1fc17a8a43 Switch to using to_sentence to construct tooltips
* Code in ruby now uses Array#to_sentence to construct award tooltips

* Coffeescript uses a combination of regexes for the same result
2016-08-17 21:25:39 +01:00
Jack Davison
bcdc369491 Truncated user list in award emoji tooltips
* Only the first 10 names are displayed

* Further users are indicated by "and X more."

* String "and X more" is appended to the array THEN join is called

* An oxford comma seperates the last name from "and X more"

* In coffeescript "me" is now always prepended

* Tests included
2016-08-17 13:33:50 +01:00
Fatih Acet
aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00