Skip to content
Snippets Groups Projects
Commit f774ac0f authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

update README -> add bugs list

parent 38e11cf5
No related branches found
No related tags found
No related merge requests found
......@@ -12,13 +12,30 @@ The API documentation is available at `<BASE URL>/swagger-ui.html`. A JSON versi
## TODO
* Fix bugs;
* Externalize configuration (DB parameters, security enabled/disabled, ...);
* Sync backend with hand written Swagger specs (see Maintenance section below);
* Decide if an update on a model should affect the articles including it;
* Add author's view if needed;
* Implement delete methods if needed;
* Implement logout;
* Add some details to the group and variable models like descriptions;
* Update frontend (add introduction page, hide header/footer when not logged in, remove mock authors, real stats like users count);
* Fix bugs;
* Add SoapUI tests.
* Add introduction page;
* Update front-end behavior when not logged in;
* Clean code (both back-end front-end);
* Sync with original Swagger description;
* Implement SoapUI tests;
* Make user tests with multiple users.
## BUGS
* Copy a model;
* When updating an article from the 'recent articles' list, bug with 'publish' state;
* When updating a model the SVG is not updated (SVG updates when opening article editor);
* Dynamic stats (users, articles, ...);
* In the profile view, we shouldn't see the '+' between firstname and lastname;
* In the profile view links to own articles and so on, are not implemented;
* Export PDF;
### Maintenance
......
......@@ -144,32 +144,6 @@ public class ModelsApi {
Model model = (Model) query.uniqueResult();
session.getTransaction().commit();
// Inject mock data
/*List<Object> values = new LinkedList<>();
values.add(18422);
values.add(16972);
values.add(17330);
values.add(16398);
values.add(21614);
values.add(21386);
values.add(20474);
values.add(19867);
values.add(20398);
values.add(19741);
values.add(18595);
values.add(18018);
model.getDataset().getData().put("MidTemp", values);
model.getDataset().getHeader().add("MidTemp");*/
/*session = HibernateUtil.getSessionFactory().getCurrentSession();
session.beginTransaction();
query = session.createQuery("from Dataset where code= :code");
query.setString("code", model.getDataset().getCode());
Dataset dataset = (Dataset) query.uniqueResult();
session.getTransaction().commit();
System.out.println("keyset : "+dataset.getData().keySet());*/
session = HibernateUtil.getSessionFactory().getCurrentSession();
session.beginTransaction();
query = session.createQuery("from Query where id= :id");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment