- 15 May, 2014 4 commits
-
-
Randall Leeds authored
-
csillag authored
-
csillag authored
Partially revert the changes made in https://github.com/hypothesis/h/commit/c840a620fc040ceb7941c9b50a379b9c271b0728. Fixes #1201.
-
csillag authored
When annotations are loaded/updated in either side, they will be automatically transmitted to the other side by the bridbe plugin. Then on the other side, the new data is merged into any existing one. The problem is that when doing this merge, some fields (which are objects themselves) should not be overwritten; they should be merged, too. This change adds selective handling of the `target` field, which is a list of objects. Now each individual target is merged, ever overwritten. Furthermore, there are a few special cases when some fields (inside targets) should not be updated at all. Now those updates are refused. Fixes #1198.
-
- 12 May, 2014 2 commits
-
-
Randall Leeds authored
Close #468
-
Randall Leeds authored
-
- 11 May, 2014 2 commits
-
-
Randall Leeds authored
Close #1001
-
Randall Leeds authored
Convert {username, provider} objects to strings.
-
- 09 May, 2014 4 commits
-
-
Randall Leeds authored
-
Randall Leeds authored
Overhaul horus view handling
-
Randall Leeds authored
Refactor the views module to limit code exposure to horus. - Implement a view mapper that acts on the horus class-based form views to coerce the result to a dictionary. This mapper pulls most of the request and response munging away from the horus view logic overrides, which are left as simple subclasses. Page views for horus now fire login/logout events and work around eventray/horus#43 for password resets. - Improve error reporting by showing flash messages only for colander errors, letting horus handle the rest. Remove corresponding hack in client-side flash handling.
-
Ujvari Gergely authored
IE doesn't have the document.baseURI property. This workaround constructs the baseURI if not present.
-
- 08 May, 2014 2 commits
- 06 May, 2014 2 commits
-
-
Randall Leeds authored
Close #479
-
Randall Leeds authored
Includes backport of openannotation/annotator#200 fix. Lines removed from flash.coffee as they are now obsolete.
-
- 02 May, 2014 5 commits
-
-
Randall Leeds authored
Now we have the potential for multiple sign-in.
-
Randall Leeds authored
Revisit the language of the auth tab blocks to remove the redundant forgot and claim views.
-
Randall Leeds authored
-
Randall Leeds authored
-
Randall Leeds authored
Make the userName filter more useful by expanding it to a general parameterized persona filter.
-
- 30 Apr, 2014 5 commits
-
-
Randall Leeds authored
Don't send a new search request until the logout request has returned.
-
Randall Leeds authored
Instead of sending a token with the application view (which is really more of a session state view), fetch it separately using the tokenUrl option of the Auth plugin. Account for the case where known personas could change in the future without invalidating the current persona and reset the Auth plugin whenever the persona in use changes. Use the persona parameter to the token endpoint to get the appropriate token.
-
Randall Leeds authored
The refresh function is not defined in the scope it's called in which is why the event is necessary. However, unlike the original, the app scope is used instead of the root scope because there's no need to dispatch from the root scope here.
-
Randall Leeds authored
Since the token changes whenever the list of personas changes just refactor the logic in the token watcher to cause exactly one search to happen when the token changes without consulting a separate property, simply by checking the tool state.
-
Randall Leeds authored
-
- 28 Apr, 2014 1 commit
-
-
Randall Leeds authored
This reverts commit ca43ccc1d9559476f95c714c1b055194f03dd0c2.
-
- 24 Apr, 2014 9 commits
-
-
csillag authored
These should have been added along with the rest in 8c7db59e05dd7757989f6b31a19edef6cfb686fd
-
Randall Leeds authored
Since the highlight code uses jQuery's .offset() we don't need to factor in the wrapper offset. Close #931
-
Ujvari Gergely authored
The root core of problem #1179 is actually an upstream problem. Our code is only necessary until we can consume the fixed version of annotator.
-
csillag authored
-
csillag authored
-
csillag authored
When we receive updated versions of existing annotations from the other side of the bridge, not only merge those changes, but announce them with the appropriate event, too. Based on changes originally introduced here: https://github.com/hypothesis/h/commit/1d4e9f32cc4f8c7db5ffdac7adad90e9cbf88db6#diff-5
-
Ujvari Gergely authored
In the past when we were switching users the previous user data has remained inside the Permissions.options.permissions object. This way, our newly created annotations had all the previous logged in user's permissions in their permission list which wat totally wrong. In this fix when logging in/out this options.permissions object is resetted too. (Along with the user) Fixes #1179
-
Randall Leeds authored
-
Randall Leeds authored
-
- 21 Apr, 2014 2 commits
-
-
Randall Leeds authored
-
Randall Leeds authored
Search each one individually. This was always the intent but the code was wrong.
-
- 20 Apr, 2014 2 commits
-
-
Randall Leeds authored
This is in preparation for adding these things to the site pages.
-
Randall Leeds authored
-