JSON storage service. RESTful, CRUD, multi-user.
This release is a minor release (no change were made to the specifications) which contains improvements to the server, to the Python client, to the CLI and to the documentation. A new extension is added to generate ulid identifiers (see details below). The methods of the Python client module now return explicit error codes. An event listener example is provided to listen to the server events using Python and web sockets. The documentation was improved, as well as 2 bugs fixed.
Here is a more detailed list of changes:
"authorMode": true
, now users can delete their own nodesauthor
key #271morgan
key (short
,tiny
,combined
,dev
etc. see morgan module for details).sh
extension removed from the cli commandsimplified texts of usages and documentation
damas_socket.py
damas_client.py
, previous module moved to damas_legacy.py
This release provide new features and improvements for user management, new features for security and changes in command line interface, along with 2 bug fixes in cli.
Contibutors : Axel Pisani @axl-pis, Remy Lalanne @remyla
This release adds an extension system to change the server behavior by loading and configuring extensions from its configuration file. A lot of code has been rewritten as extensions (see server extensions page). Also, the efforts were made to get a server that can be used as a public web server (able to serve files, manage guest access and node-based permissions).
author
key (to prevent users from reading or updating other users nodes) #189upsert
in API: update nodes or create nodes if they don't exist yet #155(see «specifications» wiki page)
for a complete list of changes please see Github 2.3.6
milestone tagged issues
Contributors: @juliearesu @zankia @remyla Thank you @juliearesu and @zankia!
retro tagging for November 2016 stable
Improvements made to the server-nodejs:
The release contains the evolutions from 2014 and is considered as the latest stable. However the Python module is not updated yet. This version is prior to the new implementations we will make during spring 2015.
This is the stable version 2.2.0 (2013) which is the latest production ready version at that time.
We are already working on the next 2.3.x version (branch 2014) with an updated API, so this should be the latest 2.2.x release appart from bug fixes and minor changes.
The 2014 branch (pre-production) will now be merge to the master branch.
(sorry for the french language, this is temporary, please ask for translation if needed) Requête permettant de sélectionner tout les fils et leurs parents et de les mettre dans la table KEY :
REPLACE INTO `key`(`node_id`, `name`, `value`) SELECT id,"#parent", parent_id FROM node;
Requête permettant la vérification de la présence de tout les fils et leurs parents sur la nouvelle table: (La requête renvoie le tableau des occurrences non trouvées dans la nouvelle table et ne renvoie rien si tout y est.)
SELECT ID, PARENT_ID FROM NODE WHERE (ID, PARENT_ID) NOT IN (SELECT ID, `VALUE` FROM NODE, `KEY` WHERE NAME="#parent" AND ID = NODE_ID);
Requête permettant la suppression de la colonne "parent_id" sur la table node:
ALTER TABLE node DROP COLUMN parent_id;
This version is run at Cyber Group Studios in production