Code Repositories xandikos / 514f75e
Update notes on collection config. Jelmer Vernooń≥ 3 years ago
2 changed file(s) with 52 addition(s) and 32 deletion(s). Raw diff Collapse all Expand all
0 Per-collection configuration
1 ============================
2
3 Xandikos needs to store several piece of per-collection metadata.
4
5 Some of these can be inferred from other sources.
6
7 For starters, for each collection:
8
9 - resource types: principal, calendar, addressbook
10
11 Per resource type-specific properties
12 -------------------------------------
13
14 Principal
15 ~~~~~~~~~
16
17 Per principal configuration settings:
18
19 - calendar home sets
20 - addressbook home sets
21 - user address set
22 - infit settings
23
24 Calendar
25 ~~~~~~~~
26
27 Need per calendar config:
28
29 - color
30 - description (can be inferred from .git/description)
31 - inbox URL
32 - outbox URL
33 - max instances
34 - max attendees per instance
35 - calendar timezone
36
37 Addressbook
38 ~~~~~~~~~~~
39
40 Need per addressbook config:
41
42 - max image size
43 - max resource size
44 - color
45 - description (can be inferred from .git/description)
46
47 Proposed format
48 ---------------
49
50 Store a ini-style .xandikos file in the directory hosting the Collection (or
51 Tree in case of a Git repository).
+0
-32
notes/config.rst less more
0 Principal
1 =========
2
3 Need per principal config:
4
5 - calendar home sets
6 - addressbook home sets
7 - user address set
8 - infit settings
9
10 Calendar
11 ========
12
13 Need per calendar config:
14
15 - color
16 - description
17 - inbox URL
18 - outbox URL
19 - max instances
20 - max attendees per instance
21 - calendar timezone
22
23 Addresssbook
24 ============
25
26 Need per addressbook config:
27
28 - max image size
29 - max resource size
30 - color
31 - description