@sync-in/server 1.3.8 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +3 -2
- package/environment/environment.dist.yaml +2 -0
- package/migrations/0001_square_mauler.sql +4 -0
- package/migrations/meta/0001_snapshot.json +2417 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +20 -2
- package/server/app.bootstrap.js +9 -0
- package/server/app.bootstrap.js.map +1 -1
- package/server/app.service.spec.js +48 -23
- package/server/app.service.spec.js.map +1 -1
- package/server/applications/files/constants/files.js +0 -23
- package/server/applications/files/constants/files.js.map +1 -1
- package/server/applications/files/constants/only-office.js +8 -0
- package/server/applications/files/constants/only-office.js.map +1 -1
- package/server/applications/files/files.config.js +5 -0
- package/server/applications/files/files.config.js.map +1 -1
- package/server/applications/files/guards/files-only-office.strategy.js +0 -1
- package/server/applications/files/guards/files-only-office.strategy.js.map +1 -1
- package/server/applications/spaces/guards/space.guard.spec.js +153 -18
- package/server/applications/spaces/guards/space.guard.spec.js.map +1 -1
- package/server/applications/spaces/services/spaces-browser.service.js +7 -7
- package/server/applications/spaces/services/spaces-browser.service.js.map +1 -1
- package/server/applications/spaces/services/spaces-manager.service.js +17 -17
- package/server/applications/spaces/services/spaces-manager.service.js.map +1 -1
- package/server/applications/sync/schemas/sync-clients.schema.js +4 -4
- package/server/applications/sync/schemas/sync-clients.schema.js.map +1 -1
- package/server/applications/sync/utils/routes.js +1 -1
- package/server/applications/sync/utils/routes.js.map +1 -1
- package/server/applications/users/guards/permissions.guard.js +4 -4
- package/server/applications/users/guards/permissions.guard.js.map +1 -1
- package/server/applications/users/guards/permissions.guard.spec.js +6 -6
- package/server/applications/users/guards/permissions.guard.spec.js.map +1 -1
- package/server/applications/users/guards/roles.guard.js +1 -1
- package/server/applications/users/guards/roles.guard.js.map +1 -1
- package/server/applications/users/models/user.model.js +1 -1
- package/server/applications/users/models/user.model.js.map +1 -1
- package/server/applications/users/schemas/users.schema.js +4 -4
- package/server/applications/users/schemas/users.schema.js.map +1 -1
- package/server/authentication/guards/auth-basic.guard.spec.js +38 -2
- package/server/authentication/guards/auth-basic.guard.spec.js.map +1 -1
- package/server/authentication/guards/auth-basic.strategy.js +0 -1
- package/server/authentication/guards/auth-basic.strategy.js.map +1 -1
- package/server/authentication/guards/auth-local.guard.spec.js +7 -5
- package/server/authentication/guards/auth-local.guard.spec.js.map +1 -1
- package/server/authentication/guards/auth-local.strategy.js +0 -1
- package/server/authentication/guards/auth-local.strategy.js.map +1 -1
- package/server/authentication/guards/auth-token-access.guard.spec.js +30 -0
- package/server/authentication/guards/auth-token-access.guard.spec.js.map +1 -1
- package/server/authentication/guards/auth-token-access.strategy.js +0 -1
- package/server/authentication/guards/auth-token-access.strategy.js.map +1 -1
- package/server/authentication/guards/auth-token-refresh.strategy.js +0 -1
- package/server/authentication/guards/auth-token-refresh.strategy.js.map +1 -1
- package/server/authentication/services/auth-methods/auth-method-database.service.js +1 -1
- package/server/authentication/services/auth-methods/auth-method-database.service.js.map +1 -1
- package/server/authentication/services/auth-methods/auth-method-database.service.spec.js +8 -6
- package/server/authentication/services/auth-methods/auth-method-database.service.spec.js.map +1 -1
- package/server/authentication/services/auth-methods/auth-method-ldap.service.js +2 -2
- package/server/authentication/services/auth-methods/auth-method-ldap.service.js.map +1 -1
- package/server/authentication/services/auth-methods/auth-method-ldap.service.spec.js +500 -5
- package/server/authentication/services/auth-methods/auth-method-ldap.service.spec.js.map +1 -1
- package/server/configuration/config.constants.js +0 -4
- package/server/configuration/config.constants.js.map +1 -1
- package/server/configuration/config.loader.js +2 -5
- package/server/configuration/config.loader.js.map +1 -1
- package/server/infrastructure/context/services/context-manager.service.spec.js +98 -0
- package/server/infrastructure/context/services/context-manager.service.spec.js.map +1 -0
- package/server/infrastructure/database/configuration.js +1 -1
- package/server/infrastructure/database/configuration.js.map +1 -1
- package/server/infrastructure/database/constants.js +18 -5
- package/server/infrastructure/database/constants.js.map +1 -1
- package/server/infrastructure/database/scripts/seed/usersgroups.js +3 -3
- package/server/infrastructure/database/scripts/seed/usersgroups.js.map +1 -1
- package/server/infrastructure/mailer/mailer.service.js +20 -19
- package/server/infrastructure/mailer/mailer.service.js.map +1 -1
- package/server/infrastructure/mailer/mailer.service.spec.js +176 -0
- package/server/infrastructure/mailer/mailer.service.spec.js.map +1 -0
- package/static/{chunk-EVYNK2XG.js → chunk-3GC2BQZD.js} +1 -1
- package/static/{chunk-XN4TXQKE.js → chunk-5YKWZT33.js} +1 -1
- package/static/{chunk-VSBD6246.js → chunk-6F55D74O.js} +1 -1
- package/static/{chunk-MWPC5XQW.js → chunk-B2Y2RNFP.js} +1 -1
- package/static/{chunk-YTROXGRM.js → chunk-C23BPTJZ.js} +1 -1
- package/static/chunk-DGVNNICG.js +1 -0
- package/static/{chunk-WSVE6EWB.js → chunk-FQ4AFNGE.js} +1 -1
- package/static/{chunk-4YWOE6HM.js → chunk-GBCYYDCI.js} +1 -1
- package/static/{chunk-Z6S7RFGN.js → chunk-HZA7R43P.js} +1 -1
- package/static/{chunk-VO5W2VKC.js → chunk-KZQCFEPT.js} +1 -1
- package/static/{chunk-BLRDUWOI.js → chunk-LJIGRUEF.js} +1 -1
- package/static/chunk-MOVWEZ7J.js +1 -0
- package/static/{chunk-3UFSZ24R.js → chunk-MTRNPGS4.js} +1 -1
- package/static/{chunk-JM5PB2NQ.js → chunk-N2LYWNTC.js} +1 -1
- package/static/{chunk-L4F2K2VQ.js → chunk-PF4K7MVG.js} +1 -1
- package/static/{chunk-F2KKCIDO.js → chunk-PY3BGNJN.js} +1 -1
- package/static/chunk-RSNLYAN6.js +560 -0
- package/static/{chunk-VCXIQZT4.js → chunk-SH5EVL4E.js} +4 -4
- package/static/{chunk-BEJ62KA7.js → chunk-T55FAU2O.js} +1 -1
- package/static/{chunk-BEC2WQVF.js → chunk-TCFKH6K6.js} +1 -1
- package/static/{chunk-LATG3ZVP.js → chunk-TDQAEVZN.js} +1 -1
- package/static/{chunk-FNO4KAYG.js → chunk-TNW2CGK6.js} +1 -1
- package/static/{chunk-OWYD7F64.js → chunk-TTQ37MUV.js} +1 -1
- package/static/chunk-TXPODW5Q.js +7 -0
- package/static/chunk-VHYIXL7R.js +4 -0
- package/static/{chunk-UEN7RH33.js → chunk-VMQMD36Z.js} +1 -1
- package/static/{chunk-6E5YHOWA.js → chunk-VMUOUCEI.js} +1 -1
- package/static/{chunk-I6ACCGIM.js → chunk-W3QXNDI5.js} +1 -1
- package/static/chunk-WHMS3PJ3.js +24 -0
- package/static/{chunk-3PB73RWL.js → chunk-WWIC7UW3.js} +1 -1
- package/static/{chunk-6A5R4OPV.js → chunk-X43VWRFP.js} +1 -1
- package/static/chunk-XE5YHU5J.js +1 -0
- package/static/chunk-Y2CDUS4J.js +4 -0
- package/static/chunk-YCINY2YI.js +1 -0
- package/static/index.html +2 -2
- package/static/main-7LDKYVXO.js +10 -0
- package/static/{polyfills-GNKGQMRJ.js → polyfills-IA5XWQYN.js} +1 -1
- package/static/{scripts-263WP5VB.js → scripts-VZVAP2P4.js} +4 -4
- package/static/styles-FYUSO6OJ.css +1 -0
- package/sync-in-server.js +1 -1
- package/static/chunk-CIGVDQPA.js +0 -1
- package/static/chunk-CY3GGCEX.js +0 -7
- package/static/chunk-DJRILQTU.js +0 -1
- package/static/chunk-EDLO4Y5E.js +0 -4
- package/static/chunk-ENDRPUCI.js +0 -4
- package/static/chunk-HXRRMHEX.js +0 -1
- package/static/chunk-IJDFKCZM.js +0 -24
- package/static/chunk-J6YSVODR.js +0 -1
- package/static/chunk-JQOMI5VI.js +0 -560
- package/static/main-7LVJ2JSP.js +0 -10
- package/static/styles-3DONJ2Z4.css +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
|
|
2
|
+
## [1.4.0](https://github.com/Sync-in/server/compare/v1.3.9...v1.4.0) (2025-08-26)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **backend:webdav:** add temporary hook for Joplin sync compatibility (laurent22/joplin[#12249](https://github.com/Sync-in/server/issues/12249)) ([fc22a7d](https://github.com/Sync-in/server/commit/fc22a7d828f99abe65423d03418fe397ab45d7b0))
|
|
8
|
+
* **backend:files:** add showHiddenFiles option to toggle visibility of dotfiles ([ed47fbf](https://github.com/Sync-in/server/commit/ed47fbf3fe7fe5b66868489c319d3c438fde0dbf))
|
|
9
|
+
* **backend:files:** allow markdown files to be edited with onlyOffice ([c3d9d85](https://github.com/Sync-in/server/commit/c3d9d85d3f1dc90f4afae8db8ce9d128c8ecadf2))
|
|
10
|
+
* **frontend:spaces:** open documents in edit mode on double-click ([d6ef175](https://github.com/Sync-in/server/commit/d6ef175d951b4e11ce78d280e4982e3ed8a4bb3f))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **backend:users:** ensure permission guards correctly evaluate array permissions ([c27dc7b](https://github.com/Sync-in/server/commit/c27dc7b7ac20293febca17d18ae8608d61eb1b44))
|
|
16
|
+
|
|
17
|
+
## [1.3.9](https://github.com/Sync-in/server/compare/v1.3.8...v1.3.9) (2025-08-22)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **backend:** allow IPv6 in database fields for IP addresses ([757f2d1](https://github.com/Sync-in/server/commit/757f2d117865fa41c2cdf759b9f54477434dee79))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **backend:config:** do not lowercase env var values ([cb73ab0](https://github.com/Sync-in/server/commit/cb73ab0287346b58ae8f34ed985d891a9a5a6732))
|
|
28
|
+
* **docker:nginx:** optionalize OnlyOffice proxying and avoid startup failure when container is absent ([2be107f](https://github.com/Sync-in/server/commit/2be107feda42ca8bb1edd1a9b99e3e62ff9dc234))
|
|
29
|
+
|
|
2
30
|
## [1.3.8](https://github.com/Sync-in/server/compare/v1.3.7...v1.3.8) (2025-08-19)
|
|
3
31
|
|
|
4
32
|
|
package/README.md
CHANGED
|
@@ -14,9 +14,10 @@ _Welcome to the official Sync-in server repository!_
|
|
|
14
14
|
- 📦 [Deploy with NPM](https://sync-in.com/docs/setup-guide/npm)
|
|
15
15
|
|
|
16
16
|
<a href="#-license"><img src="https://img.shields.io/badge/Licence-AGPL%20v3.0-green.svg" alt="License"/></a>
|
|
17
|
-
<a href="https://
|
|
18
|
-
<a href="https://www.npmjs.com/package/@sync-in/server" target="_blank"><img src="https://img.shields.io/npm/d18m/@sync-in/server.svg?logo=npm&label=NPM%20Downloads&color=cb3837" alt="NPM"/></a>
|
|
17
|
+
<a href="https://github.com/Sync-in/server/releases" target="_blank"><img src="https://img.shields.io/github/v/release/Sync-in/server?sort=semver&display_name=tag&style=flat&logo=github&label=Release" alt="GitHub Release"/></a>
|
|
19
18
|
<a href="https://hub.docker.com/r/syncin/server" target="_blank"><img src="https://img.shields.io/docker/pulls/syncin/server?logo=docker&label=Docker%20Hub%20Pulls" alt="Docker pulls"/></a>
|
|
19
|
+
<a href="https://www.npmjs.com/package/@sync-in/server" target="_blank"><img src="https://img.shields.io/npm/d18m/@sync-in/server.svg?logo=npm&label=NPM%20Downloads&color=cb3837" alt="NPM"/></a>
|
|
20
|
+
<a href="https://discord.gg/qhJyzwaymT" target="_blank"><img src="https://img.shields.io/discord/1391081837849346088?logo=discord&label=Discord" alt="Discord"/></a>
|
|
20
21
|
|
|
21
22
|
The **Sync-in Server** is designed to run on your own infrastructure, it gives you **full control over your data** while offering a modern,
|
|
22
23
|
intuitive interface for both internal and external users.
|
|
@@ -81,6 +81,8 @@ applications:
|
|
|
81
81
|
dataPath: /home/sync-in
|
|
82
82
|
# Default to 5 GB if not specified
|
|
83
83
|
maxUploadSize: 5368709120
|
|
84
|
+
# Show files starting with a dot in the file explorer (default: false)
|
|
85
|
+
showHiddenFiles: false
|
|
84
86
|
onlyoffice:
|
|
85
87
|
enabled: false
|
|
86
88
|
# for an external server (e.g: https://onlyoffice.domain.com), remember the url must be accessible from browser !
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
ALTER TABLE `users` MODIFY COLUMN `currentIp` varchar(45);--> statement-breakpoint
|
|
2
|
+
ALTER TABLE `users` MODIFY COLUMN `lastIp` varchar(45);--> statement-breakpoint
|
|
3
|
+
ALTER TABLE `sync_clients` MODIFY COLUMN `currentIp` varchar(45);--> statement-breakpoint
|
|
4
|
+
ALTER TABLE `sync_clients` MODIFY COLUMN `lastIp` varchar(45);
|