Commit Graph

961 Commits

Author SHA1 Message Date
Cayo Puigdefabregas e0e4ecfd2d replace Temporal for Temporary 2022-01-12 16:52:55 +01:00
Cayo Puigdefabregas 849e482d62 add named tags 2022-01-11 13:42:01 +01:00
Cayo Puigdefabregas 4e43076c04 add tag list 2022-01-11 13:13:57 +01:00
Cayo Puigdefabregas 062eed3d98 unassigned have only the devices than not exist in any lot 2022-01-11 11:46:47 +01:00
Cayo Puigdefabregas c213bddb8c fix a main_inventory 2022-01-11 11:21:17 +01:00
Cayo Puigdefabregas 483f674957 adding edit lot and fix bug of session.commit 2022-01-05 11:10:32 +01:00
Cayo Puigdefabregas 18fead559c first step for render actions view 2022-01-04 12:56:28 +01:00
Cayo Puigdefabregas 8333d6804c Merge branch 'feature/server-side-render-devices' of github.com:eReuse/devicehub-teal into feature/server-side-render-devices 2022-01-04 12:45:36 +01:00
Cayo Puigdefabregas a518e4ebf8 fixing bug when create a new lot 2022-01-04 12:45:13 +01:00
Santiago L c2a058bf51 Merge branch 'feature/server-side-render' into feature/server-side-render-devices 2022-01-04 12:00:15 +01:00
Santiago L e1786ddcb2 Refactor: store current user on `before_request()` 2022-01-04 11:59:03 +01:00
Cayo Puigdefabregas 5b9a9d482d template necessary for create a new lot 2022-01-03 13:41:24 +01:00
Cayo Puigdefabregas 1acd3c4929 refactoring actions of javascript 2022-01-03 13:40:30 +01:00
Cayo Puigdefabregas 5bfe1584b9 add actions in menu New actions 2022-01-03 13:25:35 +01:00
Cayo Puigdefabregas d994cd2f10 remove lot 2022-01-03 12:28:42 +01:00
Cayo Puigdefabregas d17114a0b0 remove device from a lot 2022-01-03 11:32:12 +01:00
Cayo Puigdefabregas 9413e7b3c7 add as global g.user current_user 2022-01-03 11:31:40 +01:00
Cayo Puigdefabregas b730537cde add lot name in the breadcrumb 2021-12-30 22:39:56 +01:00
Cayo Puigdefabregas 0f5ab17a3f refactoring DeviceListView 2021-12-30 21:40:44 +01:00
Cayo Puigdefabregas d3dc5c8986 view for create an edit the a lot 2021-12-30 21:35:54 +01:00
Cayo Puigdefabregas a0ef40328a fix url of redirect when add one device in a lot 2021-12-30 19:57:18 +01:00
Cayo Puigdefabregas 715702658f adding the lots in the correct section 2021-12-30 19:46:34 +01:00
Cayo Puigdefabregas b7a723866b adding lot view 2021-12-30 17:23:34 +01:00
Cayo Puigdefabregas d2701de62b moving selectpicker to main_inventory 2021-12-30 13:55:11 +01:00
Cayo Puigdefabregas 8411a005df adding csrf_token to addinglot.html 2021-12-30 13:54:14 +01:00
Cayo Puigdefabregas ae4dd59f07 adding new viewLotDeviceAddView 2021-12-30 13:53:28 +01:00
Cayo Puigdefabregas e1c46e4725 adding form class for addinglot 2021-12-30 13:52:06 +01:00
Cayo Puigdefabregas 94bf3aaf87 management of the form of adding a device in a batch from the frontend 2021-12-30 12:41:37 +01:00
Cayo Puigdefabregas a5a08a162c adding lots in to modal addinglot form 2021-12-29 13:44:28 +01:00
Cayo Puigdefabregas f0dd2fb4ec adding modal menu in for lots 2021-12-29 13:02:39 +01:00
Cayo Puigdefabregas 8591af5abd adding buttons of lots actions exports and tags with dropdown menu 2021-12-29 12:14:29 +01:00
Cayo Puigdefabregas 2ea5c875c1 table with search and ordering fields 2021-12-29 10:57:39 +01:00
Cayo Puigdefabregas 5b07c274ef drop submoduls in inventory module 2021-12-29 10:13:34 +01:00
Cayo Puigdefabregas e0de5c018c changes order the input checkbox in the devices table 2021-12-29 10:13:03 +01:00
Santiago L 74ae8ce559 Replace favicon with USOdy logo 2021-12-29 08:30:46 +01:00
Santiago L b1d7eb12b7 Set page title 2021-12-29 08:17:42 +01:00
Santiago L 9f31c2cad8 Implement 'remember me' feature 2021-12-29 08:10:26 +01:00
Cayo Puigdefabregas 1da6484f26 adding table 2021-12-28 14:14:02 +01:00
Cayo Puigdefabregas c8be2bb640 adding rendering list 2021-12-28 13:55:56 +01:00
Cayo Puigdefabregas 9e042125a3 clean configs 2021-12-28 13:55:26 +01:00
Santiago L f4e2689f82 Add USOdy logo to login & navbar 2021-12-28 13:41:45 +01:00
Santiago L e97ee61c36 Define Stamps link to StampsView 2021-12-28 13:31:24 +01:00
Santiago L a9515dce13 Print current_user info & drop topbar unused elements 2021-12-28 13:26:56 +01:00
Santiago L 43b5a67cab Create logout view 2021-12-28 13:05:41 +01:00
Cayo Puigdefabregas a23d3427fb Merge branch 'feature/server-side-render' into feature/server-side-render-devices 2021-12-28 12:36:46 +01:00
Cayo Puigdefabregas ed48df70db adding templates for inventory1 2021-12-28 12:36:02 +01:00
Santiago L c226844a43 Encapsulate required app config on Devicehub 2021-12-28 12:32:38 +01:00
Cayo Puigdefabregas 8aa997a2f6 comment decorators 2021-12-28 11:46:17 +01:00
Cayo Puigdefabregas fb81edf799 insert LoginManager in devicehub app 2021-12-28 11:45:53 +01:00
Cayo Puigdefabregas 1feb287ca0 SECRET_KEY in config 2021-12-28 11:13:30 +01:00
Santiago L 338afcc556 Secure UserProfileView with login_required 2021-12-28 09:44:04 +01:00
Santiago L 3af67fee01 Implement user login based on sessions
Use Flask-Login & Flask-WTF libraries
2021-12-28 09:39:12 +01:00
Santiago L 95cc6f5e94 Update links on sidebar menu 2021-12-27 09:58:27 +01:00
Santiago L a0509a23a4 Create user login view 2021-12-27 09:15:06 +01:00
Santiago L bf5c76cd04 Create base_site.html 2021-12-27 09:14:10 +01:00
Santiago L 093e1d415d Refactor: use Flask class based views 2021-12-27 08:54:55 +01:00
Santiago L d5b972e9e3 Create base template based on NiceAdmin Template
Only minimal dependencies are loaded:
- bootstrap
- bootstrap-icons
2021-12-23 00:41:59 +01:00
Santiago L 339d7f7d7f Create core Blueprint skeleton 2021-12-23 00:29:44 +01:00
Cayo Puigdefabregas 47dcb5efe8 fixing tests 2021-12-21 10:32:04 +01:00
Cayo Puigdefabregas 4acd03e714 fixing ereuse pdf 2021-12-21 09:55:06 +01:00
Cayo Puigdefabregas 46dd173a12 fixing tests 2021-12-16 14:00:54 +01:00
Cayo Puigdefabregas a670a01c5e fixing bug us2524 2021-12-16 13:21:35 +01:00
Cayo Puigdefabregas 10a1e23a5d Metrics only lot 2021-12-07 13:20:16 +01:00
Cayo Puigdefabregas daed1bdafb . 2021-12-03 09:54:59 +01:00
Cayo Puigdefabregas ba858aff89 fixing permitions for excel 2021-11-29 12:15:37 +01:00
Cayo Puigdefabregas f0d9ead977 deactivate removes for RAMs slots 2021-11-26 14:08:11 +01:00
Cayo Puigdefabregas 596b54f818 up of version 2021-11-25 10:29:32 +01:00
Cayo Puigdefabregas 03ee4fba34 changes some values of headers 2021-11-24 12:20:40 +01:00
Cayo Puigdefabregas 0543fb64a5 Merge branch 'testing' into feature/power_on_hours 2021-11-24 11:17:26 +01:00
Cayo Puigdefabregas e8ccbedf40 change of version 2021-11-24 10:15:18 +01:00
Cayo Puigdefabregas c4a2b720ef adding property power_on_hours 2021-11-23 15:27:16 +01:00
Cayo Puigdefabregas 56dcdf2897 get_status docuemnts in metrics 2021-11-23 11:08:48 +01:00
cayop b117a4b267
Merge pull request #170 from eReuse/feature/delete-devices
Feature/delete devices
2021-11-22 12:38:00 +01:00
Cayo Puigdefabregas 2d5ead7c1b checking permitions of actions 2021-11-22 12:01:12 +01:00
Cayo Puigdefabregas e09073216c fixing migration 2021-11-22 11:34:03 +01:00
Cayo Puigdefabregas bef5df414b fixing bug in sync 2021-11-22 11:14:27 +01:00
Cayo Puigdefabregas 40bf280c75 Fixing name of document container in metrics 2021-11-22 10:31:20 +01:00
Cayo Puigdefabregas 9d4df05831 litle bugfix taiga 2357 2021-11-22 10:16:39 +01:00
Cayo Puigdefabregas 818e3ad0cc new tests 2021-11-19 12:44:52 +01:00
Cayo Puigdefabregas 3b41ddb66a Merge branch 'testing' into feature/delete-devices 2021-11-19 12:07:14 +01:00
Cayo Puigdefabregas aa17d4b492 clean code test 2021-11-19 11:34:13 +01:00
Cayo Puigdefabregas d8382f8331 drop assert for lot[devices] in dummy 2021-11-18 11:52:59 +01:00
Cayo Puigdefabregas 63f7adf69c try to use only_fields for devices but not used 2021-11-18 11:50:29 +01:00
Cayo Puigdefabregas 5510417125 reduce latency for timeout for lots 2021-11-18 11:48:57 +01:00
Cayo Puigdefabregas e447e15aeb fixing update of migration 2021-11-12 22:26:08 +01:00
Cayo Puigdefabregas fb5286648d fixing update of migration 2021-11-12 22:24:23 +01:00
Cayo Puigdefabregas 287ac8d741 fixing migration of olds confirmRevokes datas 2021-11-12 22:16:02 +01:00
Cayo Puigdefabregas 8e47af8e27 refactoring trading and trading for web 2021-11-12 10:00:43 +01:00
Cayo Puigdefabregas 1279180700 fixing confirms 2021-11-11 22:50:07 +01:00
Cayo Puigdefabregas e326e8ccdf fixing revoke when the device is in one future trade 2021-11-11 22:21:58 +01:00
Cayo Puigdefabregas 872a0be866 rebuild trading function 2021-11-11 22:08:28 +01:00
Cayo Puigdefabregas cef22f01ce fixing deletr_from_trade 2021-11-11 17:23:45 +01:00
Cayo Puigdefabregas 54977d432d refactory in delete_from_trade function 2021-11-11 17:06:26 +01:00
Cayo Puigdefabregas 9dc79a59dc fixing revokeView and reset_owner 2021-11-10 18:59:44 +01:00
Cayo Puigdefabregas f06007e199 fixing conflict 2021-11-08 18:07:07 +01:00
Cayo Puigdefabregas c7ced04e9d fixing bug for documents 2021-11-08 17:33:22 +01:00
Cayo Puigdefabregas f8be48d524 fixing schema 2021-11-05 13:10:23 +01:00
Cayo Puigdefabregas 6bf1354109 fixing change status next trade 2021-11-05 13:00:01 +01:00
Cayo Puigdefabregas 5ebf4f48b5 adding trade in status actions 2021-11-05 12:35:10 +01:00
Cayo Puigdefabregas 56df40c81a fixing actions for computer 2021-11-04 13:27:25 +01:00