OLKi merge requestshttps://framagit.org/synalp/olki/olki/-/merge_requests2019-10-31T11:30:30Zhttps://framagit.org/synalp/olki/olki/-/merge_requests/6Adding user notifications panel2019-10-31T11:30:30ZRigel KentAdding user notifications panelThis is a huge change introduced to how the server works, as we are switching to using websockets (for live notifications!) in addition to regular HTTP requests. The API stays roughly the same (with the addition of more precise types), b...This is a huge change introduced to how the server works, as we are switching to using websockets (for live notifications!) in addition to regular HTTP requests. The API stays roughly the same (with the addition of more precise types), but the underlying server switches from WSGI to ASGI.
This also means the user will benefit from feedback from the notification API upon actions that are asynchronous (i.e. someone else sending them a message, or some background process finishing).0.3 FederationRigel KentRigel Kenthttps://framagit.org/synalp/olki/olki/-/merge_requests/5OAI-PMH import for users2019-08-30T20:16:39ZRigel KentOAI-PMH import for usersThe MR adds the possibility for loggged-in users to import corpora from OAI-PMH repositories. The functionality only supports HAL for now, but the import form is made so that future implementations could choose parsers for more repositor...The MR adds the possibility for loggged-in users to import corpora from OAI-PMH repositories. The functionality only supports HAL for now, but the import form is made so that future implementations could choose parsers for more repositories supported).
The import effectively creates a corpus under the user's control. The corpus is editable like a normal corpus.
## How the feature looks like
A new button is added both in the quick actions, and in the user's corpora list.
![Screenshot_2019-08-30_OLKi_-_Home](/uploads/40e4179f78c7cdb0f95226283813855b/Screenshot_2019-08-30_OLKi_-_Home.png)
A thin coloured ribbon is added on the left-hand side of the imported corpus's card in listings.
![Screenshot_2019-08-30_OLKi_-_Home_1_](/uploads/902fcec3033d5f6477201f2ecb2cd16c/Screenshot_2019-08-30_OLKi_-_Home_1_.png)
The import menu lets choose parsers from known repositories, and once choosen, auto-fills the following repository url (which can be changed by the user, would they want to use the parser for a different repository).
![Screenshot_2019-08-30_OLKi](/uploads/4efb660c04228d54f5843ab20bfcdb15/Screenshot_2019-08-30_OLKi.png)
Once on the imported corpus page, you can notice a few differences: files are not imported, but instead linked to. This is a shortcut taken in the implementation for now. Comments are otherwise disabled, but can be enabled manually afterwards.
![Screenshot_2019-08-30_OLKi_-_Corpus_-_FRT_presentation_of_the_Onsager_algebras](/uploads/03f1cf4ebe51f62694aa7fca4e8003f5/Screenshot_2019-08-30_OLKi_-_Corpus_-_FRT_presentation_of_the_Onsager_algebras.png)0.4 Scientific watchRigel KentRigel Kenthttps://framagit.org/synalp/olki/olki/-/merge_requests/4Adding OAI-PMH server support2019-07-08T14:15:04ZRigel KentAdding OAI-PMH server supportImplementing the [OAI-PMH](http://www.openarchives.org/OAI/openarchivesprotocol.html) standard to expose our datasets (server-part only, we don't query other OAI-PMH servers for now).Implementing the [OAI-PMH](http://www.openarchives.org/OAI/openarchivesprotocol.html) standard to expose our datasets (server-part only, we don't query other OAI-PMH servers for now).0.2 Corpus managementRigel KentRigel Kenthttps://framagit.org/synalp/olki/olki/-/merge_requests/3Add site syndication feeds for corpora2019-07-08T14:33:08ZRigel KentAdd site syndication feeds for corpora0.3 Federationhttps://framagit.org/synalp/olki/olki/-/merge_requests/2WIP: refactor federation code, federate Notes (Corpus comments)2019-08-12T16:11:06ZRigel KentWIP: refactor federation code, federate Notes (Corpus comments)Related to #17, this PR brings to life the currently dormant federation module borrowed from Funkwhale, adapts it and builds commenting functionality on it. It will also lay the groundwork for future federation of corpora themselves betw...Related to #17, this PR brings to life the currently dormant federation module borrowed from Funkwhale, adapts it and builds commenting functionality on it. It will also lay the groundwork for future federation of corpora themselves between OLKi instances.0.2 Corpus managementRigel KentRigel Kenthttps://framagit.org/synalp/olki/olki/-/merge_requests/1(ci) add .gitlab-ci.yml and upgrade front deps2019-01-05T01:08:53ZRigel Kent(ci) add .gitlab-ci.yml and upgrade front deps