891 Commits

Author SHA1 Message Date
stanig2106 573e4a0cb4 [Workavia] Drop double-save in remote.ts that wiped user.cache.companies
Upstream OIDC remote.updateUser does:
1. users.save(user) — basic fields, cache.companies unset
2. companies.setUserRole(company, user) — fetches fresh user, pushes
   company id into cache.companies, users.save() that fresh user
3. users.save(user) — saves the LOCAL stale user, overwriting (2)

Step 3 is what breaks: cache.companies ends up empty in DB, the user
search index loses the companies field, and the share-picker can't
find users from the same Company.

Removing step 3 fixes it: setUserRole's save is the authoritative one.
v2020.3.107-workavia.3
2026-05-02 22:06:53 +02:00
stanig2106 ba4aac2d8b [Workavia] Pin Node 22 in tdrive-node Dockerfile (config@2.x breaks on 24) v2020.3.107-workavia.2 2026-05-02 18:40:08 +02:00
stanig2106 3ea5df52fe [Workavia] Remove upstream linagora CI workflows to free the Gitea runner 2026-05-02 17:26:35 +02:00
stanig2106 aa9406c54d [Workavia] Replace Twake Drive header logos + alt + window app_name
Publish Feature Branch / publish-feature (ldap-sync) (push) Failing after 9m39s
Publish Feature Branch / publish-feature (nextcloud-migration) (push) Failing after 9m39s
Publish Feature Branch / publish-feature (onlyoffice-connector) (push) Failing after 9m40s
Publish / publish (backend) (push) Failing after 9m40s
Publish Feature Branch / publish-feature (backend) (push) Failing after 19m32s
Publish Feature Branch / publish-feature (frontend) (push) Failing after 19m31s
Publish / publish (frontend) (push) Failing after 9m39s
Publish / publish (ldap-sync) (push) Failing after 9m39s
Publish / publish (nextcloud-migration) (push) Has been cancelled
Publish / publish (onlyoffice-connector) (push) Has been cancelled
- Replace logo-text-{black,white}.svg path-based artwork with simple
  text-based "Workavia Drive" SVG matching the rest of the brand.
- Update alt="Tdrive" → alt="Workavia Drive" in header + side-bar +
  Logo atom.
- Set WindowState.app_name to "Workavia Drive" so document.title
  doesn't revert to "Tdrive" once the SPA hydrates.
v2020.3.107-workavia.1
2026-05-02 16:42:57 +02:00
stanig2106 e0347f85f0 [Workavia] Brand → "Workavia Drive" + multi-tenant Company per email domain
- Replace "Twake Drive" → "Workavia Drive" in static (index.html,
  manifest.json), all 16 frontend locales, and shared.tsx.
- Patch console/clients/remote.ts (OIDC remote) and console/web/controller.ts
  (local signup) to derive a per-tenant Company from the user's email
  domain via uuidv5, replacing the upstream all-zero hardcode.
2026-05-02 15:38:22 +02:00
Quentin Valmori 03cf4614a5 Add getting started documentation (#915)
Added a comprehensive getting started guide including setup instructions
for cloning the repository, running with Docker, and development
prerequisites.
2025-11-22 09:06:58 +01:00
Quentin Valmori 59e620fe6c Revise README for Twake Drive Legacy (#916)
Updated README to reflect the legacy status of Twake Drive and provided
a link to the new version.
2025-11-22 09:06:54 +01:00
Quentin Valmori 0173510006 Revise README for Twake Drive Legacy
Updated README to reflect the legacy status of Twake Drive and provided a link to the new version.
2025-11-22 09:06:34 +01:00
Quentin Valmori 8316742d71 Add getting started documentation
Added a comprehensive getting started guide including setup instructions for cloning the repository, running with Docker, and development prerequisites.
2025-11-22 09:06:09 +01:00
Khaled Ferjani 3468ed6996 🐛 fix: update migration script import (#909) 2025-10-15 14:09:30 +02:00
Khaled FERJANI 33ad0aab0d 🐛 fix: update migration script import 2025-10-15 14:08:01 +02:00
Khaled Ferjani 0ec85f226c 🎨 chore: sanitize slugs to handle not compatible usernames (#908) 2025-10-15 13:57:16 +02:00
Khaled Ferjani 680870e416 Apply suggestion from @Crash--
Co-authored-by: Quentin Valmori <quentin.valmori@gmail.com>
2025-10-15 13:52:25 +02:00
Khaled Ferjani e60af9caf3 Update tdrive/backend/node/src/cli/cmds/migration_cmds/migrate-files.ts
Co-authored-by: Quentin Valmori <quentin.valmori@gmail.com>
2025-10-15 13:51:08 +02:00
Khaled FERJANI 4f97b56c11 🎨 chore: sanitize slugs to handle not compatible usernames 2025-10-15 13:48:37 +02:00
Khaled Ferjani 489a61c172 🔧 chore(migration script): update LDAP filter (#907) 2025-10-03 14:06:11 +01:00
Anton Shepilov c44cbbcad0 🐛 fix(migration cmd): update LDAP util search base and logging (#906) 2025-10-03 13:35:42 +02:00
Khaled FERJANI ab13e36fd7 🐛 fix(migration cmd): update LDAP util search base and logging 2025-10-03 13:26:28 +02:00
Anton Shepilov ef9dec8332 fix package lock with new deps 2025-10-03 10:55:21 +02:00
Khaled Ferjani 6502026799 feat: add phone to cozy instance creation script (#904)
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->
- When creating cozy instances in the migration script, we search for
the phone number in LDAP and insert it in the request.
2025-10-03 10:40:10 +02:00
Khaled FERJANI 6cf9731595 🚨 chore: lint 2025-10-02 18:28:03 +02:00
Khaled FERJANI 48d167dc3f chore: add deps 2025-10-02 18:15:27 +02:00
Khaled FERJANI bf27a44296 feat: add phone to instance creation 2025-10-02 18:15:13 +02:00
Khaled FERJANI 00c81827ef feat: add LDAP mobile search helper 2025-10-02 18:14:37 +02:00
MontaGhanmy cb43d8c24e fix: skip trashed files 2025-05-19 17:44:23 +02:00
Montassar Ghanmy 34e935027f 🐛 Skip failed file(s) for file migration (#896) 2025-05-19 15:34:49 +01:00
Montassar Ghanmy 87417b5ada 🛠️ User locale for migration (#895) 2025-05-19 11:14:18 +01:00
lethemanh d831ffc5fe Add flag to always allow share by link 2025-05-19 16:23:47 +07:00
Montassar Ghanmy 7595a6d856 feat: config for cozy offer (#894) 2025-05-19 11:13:16 +02:00
Montassar Ghanmy a272d66dcd 🛠️ Cozy migration CLI tools and client (#876)
* feat: migration cli tools and client

* feat: creating folder tree / ref cli cmds / Dockerfile

* feat: refresh app auth token for requests

* feat: skip already migrated files

* ref: auth token refresh and download request

* ref: using cloudery to create user instace and generate token

* ref: using config for cloudery

* fix: docker for backend

* fix: docker for backend

* fix: docker for backend

* fix: docker for backend

* fix: lint/Dockerfile

* fix: docker for backend

* fix: docker for backend

* ref: delete client

* fix: user default company

* feat: stream file upload and progress

* feat: use default company

* ref: file upload

* ref: removed migration endpoints for external client
2025-05-16 14:41:33 +02:00
lethemanh 70f3298f01 🐛 Fix sessions could not remove after delete account success 2025-05-15 17:48:54 +02:00
lethemanh b3ead45ab8 🐛 Fix bug cannot update email with account remote 2025-05-14 11:06:44 +02:00
lethemanh 0989d2f3c3 Debug API delete user 2025-04-28 09:31:19 +02:00
lethemanh 58f8fed56f Hide rescan document in context menu of folder 2025-04-24 11:21:09 +02:00
lethemanh 10cd4bba08 Fix separator in context menu 2025-04-23 16:05:46 +02:00
Anton SHEPILOV 38385a0145 🐛Fixed "file not found" error in bake action 2025-04-22 13:51:39 +02:00
Anton SHEPILOV a8b4d84bef ♻️Turn-off sonarqube 2025-04-22 13:32:16 +02:00
Anton SHEPILOV 743d2e9123 ⬆️Upgraded docker bake action to support new GitHub cache 2025-04-22 13:24:15 +02:00
shepilov 7580b37671 New endpoint that is marking user for deletion 2025-04-22 11:26:52 +02:00
lethemanh 8789b91a7a Adjust antivirus feature 2025-04-21 10:40:10 +07:00
lethemanh f0b6315d76 Fix bug show incorrect buttons when creating document success 2025-04-09 17:42:34 +02:00
Anton SHEPILOV 373a28ecc8 🩹Added configuration from env variables for cli
Fixed cli tolls lib for node 22
2025-04-08 09:35:47 +02:00
Anton Shepilov 22e30d20fb Support tool, zips folder and puts it to users home directory (#870)
* Support tool, zips folder and puts it in users home directory
2025-04-07 14:25:04 +02:00
lethemanh 755c4f05e2 Add admin endpoint for API update user 2025-04-06 11:31:47 +02:00
lethemanh 9789dc24e1 Fix bug reupload cancelled folder 2025-04-02 13:56:29 +02:00
lethemanh 0d07312ca4 Fix bug current uploaded file opens incorrect location 2025-04-02 13:56:02 +02:00
lethemanh 76e2be3597 Implement e2e test for checking update user permission 2025-04-02 09:21:26 +07:00
lethemanh eb46da342c Get user id by email; Revert changes of API delete user 2025-03-27 14:23:53 +01:00
lethemanh 5e60517c16 Implement API get user id by username 2025-03-27 14:23:53 +01:00
lethemanh bebf337d28 🐛 Accept username in request of API delete user 2025-03-27 14:23:53 +01:00