20 Commits

Author SHA1 Message Date
Anton Shepilov 8b9fd36c8c Ignore errors during nextcloud migration to be able to import files partially (#579)
*  Ignore errors during nextcloud migration to be able to import files partially for big migrations
* 👷 Fixed Nextcloud migration publishing script
* ✏️ Removed wrong comment
* 🐛 Fixed nextcloud migration, when there is a folder and a file with the same name
2024-09-05 15:29:25 +02:00
Yadd faa42c2b22 Replace child_process.exec by child_process.spawnSync (#428)
child_process.exec uses a shell to parse and launch command.

Since here some arguments comes from external, it's unsecured.

This MR uses spawnSync instead.
2024-03-11 12:03:25 +01:00
Yadd 423e7f2c00 [Nextcloud-Migration]: add "dir" param (#427)
This permit one to use an existing directory instead of downloading from Nextcloud
2024-03-11 12:02:53 +01:00
Anton SHEPILOV 2ecf74cdf2 🐛Temporary fix for twake client auth in plugin 2024-03-09 09:48:58 +01:00
Anton Shepilov c9ce1fce43 🚑 Restore files from nextcloud (#423)
* 🚑Modify nextcloud migration to be able to back up files from next cloud

Co-authored-by: Monta <monta@HP-ProBook-445-14-inch-G9-Notebook-PC-505aadfc.localdomain>
2024-03-07 18:33:08 +01:00
Yadd bf4599c483 update (#344) 2024-01-23 13:59:13 +04:00
Anton Shepilov ce595ded5f publish (#343) 2024-01-23 13:53:27 +04:00
Yadd 99e0c548e6 Reduce logs (#342) 2024-01-23 09:53:13 +01:00
Anton Shepilov 164a125995 Last chance to success (#340) 2024-01-22 20:30:19 +01:00
Anton Shepilov 2a76ddc405 publish nextcloud migration to dockerhub (#339) 2024-01-22 20:24:05 +01:00
Anton Shepilov 46c3f36338 Lemon nextcloud migration (#338) 2024-01-22 20:18:01 +01:00
Anton Shepilov 184b9acbe3 New user provider for nextcloud migration (#337) 2024-01-22 19:32:32 +01:00
Yadd eae85905a0 Nextcloud migration:: add security tips + reduce size (#307)
* Add security tips
* Don't rebuild on start
* Build a full bundle with rollup, then minimize image size
2024-01-05 12:35:13 +01:00
Anton Shepilov 6f7f714fe8 🌟 Data migration from nextcloud (#302)
- Files upload to Twake Drive
- New logger
2024-01-02 15:09:43 +01:00
Anton Shepilov 8efe4ec194 🌟 Data migration tool from nextcloud (#299)
- created server configuration
 - implemented downloading files from nextcloud to a local directory
 - build of the docker image added to the GutHub workflow
 - Twake client added
 - Creating user in Twake Drive from ldap
 - Ldap client with ldapsearch(TODO make it work with ldapjs)
 - Jest debug tests
2023-12-14 22:19:15 +01:00
Anton Shepilov efcb27b405 * 🛠️ Synchronization of the user with LDAP
* add configuration with LDAP attributes mappings
* add defalut company and remove application check since it's not configurable
* change error handling, now all the requests are independant
2023-09-12 23:02:46 +02:00
Anton Shepilov 79764988b8 * 🌟Synchronization of the user with LDAP (#206)
* Add configuration with LDAP attributes mappings
* Add default company and remove application check since it's not configurable
* Change error handling, now all the requests are independent
2023-09-12 16:20:37 +02:00
Anton Shepilov 15d3602cf8 🌟Synchronization of the user with LDAP (#188) 2023-09-06 20:59:42 +02:00
Anton Shepilov 921a0f3f28 Ldap sync (#187)
* 🌟Synchronization of the user with LDAP
2023-09-06 20:48:40 +02:00
Anton Shepilov b149882c34 🌟 Synchronization of the user with LDAP (#185)
* 🌟Synchronization of the user with LDAP
2023-09-06 18:47:54 +02:00