- 02 Dec, 2015 18 commits
-
-
Sean Hammond authored
-
Sean Hammond authored
-
Sean Hammond authored
Declare variables on the same line where they're first defined, instead of at the top of the function.
-
Sean Hammond authored
-
Sean Hammond authored
-
Sean Hammond authored
-
Sean Hammond authored
-
Sean Hammond authored
-
Sean Hammond authored
-
Sean Hammond authored
-
Sean Hammond authored
This is a translation of commit 363134d28cb7ff8d2313278e1b4b6c09b5bf9bed from CoffeeScript to JavaScript. Original commit message from 363134d28cb7ff8d2313278e1b4b6c09b5bf9bed: When saving a draft to the drafts store, don't save changes for fields which aren't actually set. This prevents us from accidentally later restoring `null` to one of these fields. Fixes an issue where creating an annotation when logged-out would result in a null permissions field.
-
Sean Hammond authored
These were lost when translating annotation-test.coffee -> annotation-test.js using the `coffee` command.
-
Sean Hammond authored
Tidy up the CoffeeScript-generated code in annotation-test.js.
-
Sean Hammond authored
These were lost when translate annotation.coffee to annotation.js using the `coffee` command.
-
Sean Hammond authored
Tidy up the CoffeeScript-generated code in annotation.js.
-
Sean Hammond authored
annotation-test.js is just the output from `coffee -c ...` untouched.
-
Sean Hammond authored
directive/annotation.js is just the output from `coffee -c ...`, untouched.
-
Sean Hammond authored
-
- 01 Dec, 2015 2 commits
-
-
Nick Stenning authored
This is horrible, but while we're migrating this page to the app, this is the quickest and easiest fix for the homepage typeface.
-
Nick Stenning authored
Remove Font Awesome and move add missing social media icons to H icon font
-
- 30 Nov, 2015 7 commits
-
-
Robert Knight authored
Font Awesome was used for the 4 icons on the homepage - Twitter, GitHub, RSS feed in the footer - 'Drag' icon in the bookmarklet installation instructions Reduce page weight and simplify our lives by having all the icons in a single icon font.
-
Sean Hammond authored
Validate incoming annotation data with jsonschema
-
Sean Hammond authored
Handle missing permissions on annotations more gracefully
-
Robert Knight authored
Don't save null permissions/tags/text to drafts store
-
Robert Knight authored
Ensure old sort control isn't shown in sidebar
-
Nick Stenning authored
When saving a draft to the drafts store, don't save changes for fields which aren't actually set. This prevents us from accidentally later restoring `null` to one of these fields. Fixes an issue where creating an annotation when logged-out would result in a null permissions field.
-
Nick Stenning authored
a055f4c inadvertently re-enabled showing the old annotation sort control in the sidebar, as a result of the one remaining use of the ambiguous "isStream" variable. This commit ensures that "isStream" is only ever set on the actual stream page, and not in the sidebar. Fixes #2750.
-
- 27 Nov, 2015 6 commits
-
-
Robert Knight authored
Fix a font size on the front page
-
Robert Knight authored
Move front page from WordPress into app
-
Robert Knight authored
Keyboard focus the login form when shown
-
Sean Hammond authored
Automatically put the keyboard focus on the username field in the login form when it's shown.
-
Nick Stenning authored
Fix sending of WebSocket messages enqueued during a disconnection
-
Robert Knight authored
Any WebSocket messages submitted whilst the WS is disconnected should be re-sent when the WS reconnects. This was broken because upon a disconnect, the 'onclose' event handler first synchronously called reconnect(), resulting in a new WebSocket instance being created and then set 'socket' to null. This caused an error in sendMessages() after the 'onopen' event was triggered. Fix the problem by not using a null 'socket' var to represent a disconnected socket. Instead just use the WebSocket's readyState property.
-
- 26 Nov, 2015 7 commits
-
-
Sean Hammond authored
-
Sean Hammond authored
-
Sean Hammond authored
Also reduce these to just the one 152x152 icon instead of several different ones. This should be sufficient. The tiny downside is that older devices download the larger image and then rescale it.
-
Sean Hammond authored
This just copies the already compiled and minified main.css file into the app, doesn't yet try to copy the source Sass files and recreate the assets pipeline for them.
-
Sean Hammond authored
This uses a completely separate front_css webassets bundle for now, the CSS for the front page should be integrated with that in the site_css bundle later.
-
Robert Knight authored
Remove unused `deleted` property handling
-
Nick Stenning authored
At some point in the distant past (7f36f3a) annotation deletes were handled by adding the "deleted" property to annotations and anonymising them. Now we actually delete them. This commit removes code that was intended to handle such annotations.
-