Girish Ramakrishnan
6dc5c4f13b
ldap: add dummy apps search route for directus
2022-03-14 09:17:49 -07:00
Johannes Zellner
2160644124
Lets not stretch our luck
2022-02-18 18:40:49 +01:00
Johannes Zellner
b54c4bb399
Fixup cn attribute for ldap to be according to spec
2022-02-18 17:43:47 +01:00
Johannes Zellner
e3a0a9e5dc
Hack to allow SOGo logins for more than 1k mailboxes
2022-02-07 16:22:05 +01:00
Girish Ramakrishnan
8958b154e9
ldap: do not list inactive users
2022-01-21 21:07:33 -08:00
Girish Ramakrishnan
d4369851bf
ldap: add organizationalperson and top objectclasses
...
these are used by firefly-iii ldap atleast
2022-01-14 14:31:33 -08:00
Johannes Zellner
52385fcc9c
Rename exposed ldap to user directory
2022-01-07 14:06:13 +01:00
Johannes Zellner
cc998ba805
Implement full exposed ldap auth
2022-01-07 13:11:27 +01:00
Girish Ramakrishnan
5e9a46d71e
filemanager: fix mounting of filesystem and mountpoint backends
2021-12-24 15:05:51 -08:00
Johannes Zellner
7117c17777
Add exposed ldap tests
2021-12-23 21:31:48 +01:00
Johannes Zellner
9ad7123da4
Fix exposed ldap bind
...
the duplicate functions should probably share some code
2021-12-23 17:58:08 +01:00
Johannes Zellner
98fd78159e
Do not require app auth for exposed ldap
2021-12-23 10:23:54 +01:00
Johannes Zellner
438bd36267
Fixup exposed ldap startup state
2021-12-10 18:06:23 +01:00
Johannes Zellner
86d642c8a3
Fixup ldap group tests
2021-12-09 17:23:14 +01:00
Johannes Zellner
d02d2dcb80
Expose ldap groups to apps
2021-12-09 15:07:30 +01:00
Girish Ramakrishnan
ea2b11e448
Fix tests
2021-12-03 18:33:49 -08:00
Girish Ramakrishnan
aab69772e6
mailbox: add app owner type
...
this is useful when we create mailboxes for the recvmail addon
2021-12-02 22:28:06 -08:00
Johannes Zellner
412bb406c0
Do not attempt to start exposed ldap server again
2021-11-26 10:50:14 +01:00
Johannes Zellner
735737b513
Initial attempt to expose the ldap server
2021-11-22 21:29:23 +01:00
Girish Ramakrishnan
6479e333de
pop3: fix crash when authenticating non-existent mailbox
2021-11-01 19:54:39 -07:00
Girish Ramakrishnan
28d1d5e960
ldap: make mailbox app passwords work with sogo
2021-11-01 19:17:30 -07:00
Girish Ramakrishnan
15d8f4e89c
ldap: remove legacy sogo search route
2021-11-01 17:08:23 -07:00
Girish Ramakrishnan
000db4e33d
mail: add flag to enable/disable pop3 access per mailbox
2021-10-08 10:43:17 -07:00
Girish Ramakrishnan
9414041ba8
ldap: lookup by addon id and not service id
2021-10-08 09:59:44 -07:00
Girish Ramakrishnan
92c712ea75
ldap: use service ids when auth'ing email
2021-10-07 21:32:22 -07:00
Girish Ramakrishnan
671e0d1e6f
recvmail: check for active mailbox
2021-10-03 23:59:06 -07:00
Johannes Zellner
c568c142c0
Remove unused require
2021-09-27 13:07:11 +02:00
Girish Ramakrishnan
5883857e8c
sftp: remove requireAdmin setting. deprecated with operators
2021-09-21 22:43:04 -07:00
Girish Ramakrishnan
f44fa2cf47
apps: hasAccessTo -> canAccess
2021-09-21 10:13:06 -07:00
Girish Ramakrishnan
48eab7935c
sftp: add missing safe()
2021-09-15 15:31:20 -07:00
Girish Ramakrishnan
7709e155e0
more async'ification
2021-09-07 11:21:06 -07:00
Girish Ramakrishnan
42774eac8c
docker.js and services.js: async'ify
2021-08-26 18:23:31 -07:00
Girish Ramakrishnan
77f5cb183b
merge appdb.js into apps.js
2021-08-23 15:35:38 -07:00
Girish Ramakrishnan
7ba3203625
users: getAll -> list
2021-08-20 11:31:10 -07:00
Girish Ramakrishnan
c5fff756d1
move addon config db code to addonconfigs.js
2021-08-19 22:08:31 -07:00
Girish Ramakrishnan
fa9938f50a
mailboxdb: merge into mail.js
2021-08-18 12:48:34 -07:00
Girish Ramakrishnan
e4ce1a9ad3
Fix crash
2021-07-30 11:33:17 -07:00
Girish Ramakrishnan
a1c61facdc
merge userdb.js into users.js
2021-07-16 22:33:22 -07:00
Girish Ramakrishnan
caa8104dda
fix ldap test
2021-07-07 15:30:31 -07:00
Girish Ramakrishnan
ac484a02f2
merge maildb.js into mail.js
2021-06-29 15:59:02 -07:00
Girish Ramakrishnan
31498afe39
async'ify the groups code
2021-06-29 09:08:45 -07:00
Girish Ramakrishnan
097a7d6b60
sftp: rework appdata and volume mounting logic
...
this tries to solve two issues:
* the current approach mounts the data directories of apps/volumes individually.
this causes a problem with volume mounts that mount after the container is started i.e not
network time/delay but systemd ordering. With CIFS, the mount is a hostname. This requires
unbound to be running but unbound can only start after docker because it wants to bind to
the docker network. one way to fix is to not start sftp automatically and only start sftp
container in the box code. This results in the sftp container attaching itself of the
directory before mounting and it appears empty. (on the host, the directory will appear
to have mount data!)
* every time apptask runs we keep rebuilding this sftp container. this results in much race.
the fix is: mount the parent directory of apps and volumes. in addition, then any specialized appdata
paths and volume paths are mounted individually. this greatly minimized rebuilding and also since we don't rely
on binding to the mount point itself. the child directories can mount in leisure. this limits the race
issue to only no-op volume mounts.
part of #789
2021-06-24 16:51:58 -07:00
Girish Ramakrishnan
7aac4455a9
eventlog: async'ify
2021-06-01 16:37:32 -07:00
Girish Ramakrishnan
d29d46d812
mail: add active flag to mailboxes and lists
2021-04-15 11:49:19 -07:00
Johannes Zellner
af54142997
Add ldap debug for unhandled routes
2021-02-16 17:20:41 +01:00
Girish Ramakrishnan
9f9575f46a
Fixes to service configuration
...
restart service does not rebuild automatically, we should add a route
for that. we need to figure where to scale services etc if we randomly
create containers like that.
2021-01-21 17:41:22 -08:00
Girish Ramakrishnan
304fe45ee8
getServicesConfig -> getServiceConfig
...
it gets setting of a single service. the settings API returns multiple
ones, so it makes sense to call that one getServicesConfig
2021-01-21 12:22:06 -08:00
Girish Ramakrishnan
6bd87485c6
rename addons.js to services.js
...
services is the named container (services view)
addons is more like a heroku concept
2021-01-21 11:31:35 -08:00
Girish Ramakrishnan
ca53449141
mailbox: list mailbox with alias info with a self join
...
fixes #738
2021-01-07 22:03:19 -08:00
Girish Ramakrishnan
d15aa68bd7
eventlog: only merge ldap login events (and not dashboard)
...
fixes #758
2021-01-06 22:09:37 -08:00