Commit Graph

3502 Commits

Author SHA1 Message Date
StefanU
bd3bf71305
Update group.svg
Add missing size
2023-01-13 20:01:50 +01:00
StefanU
ac605595ee
Update accounts.svg
Add missing size
2023-01-13 20:01:15 +01:00
StefanU
c4e0368982
Add new svg icons
Add new svg icons:
accounts.svg
group.svg
personal.svg
2023-01-13 19:47:56 +01:00
nathan
f332b7bba5 Fully remove "tabs" attribute for tabbox, it overwrites the internal tabs collection.
Even checking for it sets 'tabs' attribute to null.  Use "extraTabs" instead.
2023-01-11 13:21:01 -07:00
nathan
115ca40737 Addressbook: Allow to choose the target addressbook when importing 2023-01-10 14:34:35 -07:00
ralf
8ec106f22b converting .xet files to new webcomponents-format 2023-01-04 11:28:10 -06:00
ralf
fefe82162e WIP converting filesystem templates to new syntax
- basically commiting what the preprocessor currently generates for the client-side
- server-side need to understand new syntax (et2-prefix and camelCase attribute-names) too
- preprocessor can now be called as cli to either echo-out the new template or replace in-place
- for now only modified edit-templates of addressbook, infolog and timesheet
- setting a new (not yet existing) DTD
2023-01-01 11:49:31 -06:00
StefanU
c46ffe7f58
Add internet.svg 2022-12-22 10:44:43 +01:00
Ralf Becker
d999bae1bc pending changes from our translation server 2022-12-02 09:59:30 +01:00
StefanU
4b7e51aa37
Update addressbook icon
Add missing size
2022-11-30 22:11:20 +01:00
StefanU
38dc32c364
Update addressbook icon
Size adjusted 30px => 32px, without border, lines on grid
2022-11-27 15:17:35 +01:00
nathan
67e643be8d Addressbook: fix "array_key_exists(): Argument #2 ($array) must be of type array, null given" error editing import vcard definition 2022-11-21 09:19:23 -07:00
nathan
972acb7aa9 Addressbook: Fix error due to missing template on mobile 2022-11-18 14:27:43 -07:00
nathan
cfec2bf52d Addressbook: fix hook processing to handle results from multiple hooks
Copied from Etemplate.php
2022-11-18 11:41:15 -07:00
Hadi Nategh
fc76b1574f Change some more png icons 2022-11-16 11:56:35 +01:00
nathan
6a5d189489 Better fix for Et2SelectState not getting country set 2022-11-14 14:41:08 -07:00
nathan
58f2267fc8 Addressbook: Pre-set the region's country 2022-11-14 14:15:41 -07:00
nathan
b998382cd2 Addressbook: Use infolog icon for CRM of organisation action 2022-10-24 13:59:52 -06:00
nathan
176cba3afb Addressbook: Fix double-click preference opened organisation view with a different title than when it was opened with context menu 2022-10-24 11:28:28 -06:00
nathan
1aa87138a2 Addressbook: Correct fix for CRM breaking contact list actions
etemplate2.clear() was not removing getting the correct app instance removed
2022-10-19 10:54:11 -06:00
nathan
7b0a6911d3 Addressbook: Don't show "(Infolog)" in CRM tab when viewing a single contact 2022-10-19 09:36:42 -06:00
nathan
bfcb67982d Addressbook: Fix CRM view overwrote app.et2 reference, breaking contact list actions 2022-10-19 09:28:48 -06:00
nathan
241b5ec839 Fix some missing translations in merge placeholder display 2022-10-11 15:34:25 -06:00
Hadi Nategh
ec3e18f53f Fix 404 error caused by undefined template index.left.xet in mobile view 2022-09-27 11:25:29 +02:00
Ralf Becker
872aeaa95f pending translations from our translation server 2022-09-14 11:08:00 +02:00
Hadi Nategh
98584884b0 Fix avatar contactId attribute 2022-09-13 11:16:50 +02:00
Hadi Nategh
d2634a74cc Fix CRM view's avatar 2022-09-12 10:04:25 +02:00
nathan
67408d84ec Addressbook: Fix grouped view did not change view properly 2022-09-09 10:11:11 -06:00
nathan
5bfb1b4b70 Addressbook: Swap distribution list & addressbook filter 2022-09-06 17:21:13 -06:00
Hadi Nategh
342eb8461a WIP Ui: Fix dialogs getting scrollbars in initiation 2022-08-30 10:39:57 +02:00
Hadi Nategh
c4412b5ed1 Fix not working geolocation in addressbook 2022-08-24 14:57:07 +02:00
ralf
804719bf30 remove width from country-selection to take full width and give view-selection a little more space 2022-08-24 10:53:24 +02:00
Hadi Nategh
739005ad59 WIP Mobile template:
-Fix avatars in addressbook
-Fix filemanager nm header
2022-08-23 14:54:22 +02:00
Hadi Nategh
bf6f50f14e Adopt buttons used in mobile template to new buttonIcon widget 2022-08-23 13:14:34 +02:00
Hadi Nategh
082d6aa791 WIP Mobile template: Fix some of apps add buttons 2022-08-22 16:19:23 +02:00
Hadi Nategh
61e52dd2d3 Drop pixelegg template from addressbook and filemanager 2022-08-12 12:12:15 +02:00
ralf
280bbcb827 fix xml special char > was not written as entity and causing preprocessor to fail 2022-08-08 18:37:57 +02:00
nathan
6b072932bd Addressbook: Hide "Change all organisation members" label when checkbox is disabled 2022-08-03 13:52:06 -06:00
nathan
e689d0c49d Improve styling of nm header row and widgets inside 2022-08-03 10:14:52 -06:00
nathan
4d28ab392b Addressbook: Fix North American address field sizing 2022-08-02 11:04:50 -06:00
ralf
bcff7ab4dc fixing pixelegg less/css files to address images in default/images
remove no longer necessary pixelegg/images symlink to default/images
revert hint.png as the pixelegg one was never used
2022-07-31 10:49:35 +02:00
ralf
0113a93ffd move images from pixelegg to default and drop png or gif, if we have an svg 2022-07-28 17:56:34 +02:00
ralf
eedda315f8 remove old css, fix misalignment of region 2022-07-28 17:22:20 +02:00
ralf
4d026ce88c fix NM header row alignment 2022-07-28 10:27:54 +02:00
ralf
6db4327705 fix/hack NM header row styling 2022-07-27 08:48:27 +02:00
ralf
3b1921b150 fix some width/size settings, though something wired happening with Room 2022-07-21 22:36:06 +02:00
Hadi Nategh
057a4559cb Remove legacy avatar class and elements 2022-07-15 13:53:33 +02:00
nathan
ed16ce52a2 Change nextmatch headers to use web components 2022-07-07 13:18:42 -06:00
ralf
c5f671dcaf fix TypeError param #2 of array_search must be array, null given 2022-06-23 22:16:21 +02:00
ralf
f2e20eddba fix addressbook edit for new Et2SelectCountry&State:
- using allowFreeEntries for custom country-names and storing, as before, region-name not the -code
- also fix flags to show nothing for custom / free country-names
Not entirely happy about it, but not willing to spend/waste more time on this tiny feature
2022-06-23 10:06:01 +02:00
ralf
96109e0f26 Several account or contact edit fixes
- fix no groups were selected (as they have numeric values)
- fix size of country and state selection
- WIP adding flags to select-country
- WIP fixing selecting a country set country_code for state selection
2022-06-18 15:06:50 +02:00
nathan
9b1923467d * Kanban: Add columns under Kanban context menu action for other applications
Also added context menu action to move kanban card to another board
2022-06-08 13:18:12 -06:00
ralf
5859ce0c37 fix CRM view shown with [object Promise] instead of title 2022-06-03 11:21:09 +02:00
ralf
7c2a3bfe71 fix missing url-encoding of from parameter (' 49...' instead of '+49...') 2022-05-04 15:20:34 +02:00
ralf
3e55347b33 get AB-view selectbox in line 2022-05-03 13:11:35 +02:00
ralf
a74bd82dde next chunk of fixed PHP Warning: Undefined array key or variable in main repo 2022-04-26 21:04:16 +02:00
nathan
bc0b8407d2 CSS / Layout cleanup - addressbook edit 2022-04-22 15:23:37 -06:00
ralf
b32e68c541 fix PHP 8.x TypeError: Cannot access offset of type string on string 2022-04-20 17:31:17 +02:00
nathan
e3be42721e Fix Et2Image did not double-transform src for as legacy image did
eg:
if $content[0][type] = "group"
${row}[type] => "0[type]" (single transform)
0[type] => "group" (double transform)

Also, fix type from addressbook list to not need double-transform
2022-04-11 15:03:24 -06:00
Ralf Becker
76e76a9e18 pending changes from our translation server 2022-04-04 13:26:38 +02:00
ralf
49e7aab2cc * Addressbook: allow keeping custom fileAs value (LDAP: displayname) by adding it as first option 2022-03-29 10:25:52 +03:00
nathan
6d393fb439 Addressbook: Switch from et2_dialog to Et2Dialog 2022-03-17 13:10:20 -06:00
ralf
045d034891 fix array_key_exists() expects exactly 2 arguments, 1 given 2022-02-24 17:58:32 +02:00
nathan
d2020727fe Fix some missing translation problems 2022-02-11 13:02:21 -07:00
Hadi Nategh
4853cefa0c Add missing icons for applications add buttons 2022-01-20 13:32:27 +01:00
Ralf Becker
b69de21bea fix PHP 8.0 TypeError: strlen(): Argument #1 ($str) must be of type string, array given 2022-01-17 21:35:50 +02:00
Ralf Becker
0748db0c70 pending translations from our translation server 2022-01-09 19:31:13 +01:00
Ralf Becker
676fe9b36f * CardDAV/Addressbook: fix GET request regression after REST API introduction 2021-12-16 19:54:17 +02:00
Hadi Nategh
cf4e5a76ef Fix error "TypeError: undefined attributeStyleMap" 2021-12-15 12:19:08 +01:00
Hadi Nategh
a0c014594f Fix context menu no longer works in Addressbook distributions list 2021-12-14 15:20:48 +01:00
Hadi Nategh
f18001d15a Remove extra width applied to Addressbook avatar images 2021-12-08 11:11:22 +01:00
nathan
d5f53af8b9 Fix missing buttons in contact edit 2021-12-06 16:27:22 -07:00
nathan
da6ff9d639 Merge branch 'master' into web-components 2021-11-24 09:42:28 -07:00
Ralf Becker
fec1c6593b fix PHP 8.0 TypeError: array_search(): Argument #2 ($haystack) must be of type array, null given 2021-11-19 10:48:56 +01:00
nathan
b91e1d8a5f Merge branch 'master' into web-components 2021-11-18 10:28:30 -07:00
Ralf Becker
3dd7af4aa5 fix diverse PHP 8.0 TypeErrors and ArgumentCountError in import/export 2021-11-15 14:41:36 +01:00
nathan
ed66beaf8f Merge branch 'master' into web-components 2021-11-10 10:25:51 -07:00
Ralf Becker
ed9b735456 fix PHP 8.0 TypeError: explode() expects parameter 2 to be string, array given 2021-11-10 11:38:06 +01:00
nathan
e03b8bbdc9 Merge branch 'master' into web-components 2021-11-05 11:08:31 -06:00
Ralf Becker
66d45452ab fix PHP 8.0 TypeError: explode(): Argument #2 ($string) must be of type string, array given 2021-11-05 14:43:32 +01:00
nathan
76d7447dab Merge branch 'master' into web-components 2021-11-01 09:37:26 -06:00
Ralf Becker
1500ab69f0 fix PHP 8.0 error: trim() expects parameter 1 to be string, array given 2021-10-28 21:34:02 +02:00
nathan
d9ae364595 Addressbook: fix name / organisation column disappeared after several column changes
last_link & next_link values would be included in validated results, and the build up of empty rows would trigger the row repeat client side and nextmatch would read the wrong row somehow.
2021-10-25 14:33:13 -06:00
nathan
fbbc466c78 Merge branch 'master' into web-components 2021-10-18 10:56:05 -06:00
Ralf Becker
59a6a3c717 fix CardDAV error with DAVx5 caused by PHP 8.0 throwing an error instead ignoring it with a warning
PHP 8.0 ValueError: mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "tf-"
current code expected Content-Type header to have charset enclosed in quotes, which it was not
2021-10-11 09:50:46 +02:00
nathan
da6a16e62d - Add generation target path preference to all apps
- Use common method to get merge preferences to reduce duplication
2021-10-07 10:22:45 -06:00
nathan
02dce82010 Merge branch 'master' into web-components 2021-10-06 14:02:22 -06:00
nathan
45f039da95 * Add preference to set the filename of merged documents using placeholders 2021-10-06 11:59:29 -06:00
Ralf Becker
d2c85cfe86 fix PHP 8.0 errors: key(): Argument #1 ($array) must be of type array, null given
guarding key() from calling with null eg. $button = key($content['button']) --> key($content['button'] ?? []) or check before !empty($content['button'])
2021-10-06 16:08:32 +02:00
Ralf Becker
66cf807cdd fix PHP 8.0 Error: Argument #2 ($array) must be of type array, null given 2021-10-05 16:35:27 +02:00
Ralf Becker
2c9949f362 REST API, do NOT take "Sync all in one addressbook" preference into account, but store in given AB 2021-09-28 11:35:01 +02:00
Ralf Becker
281e71ef71 use PUT with a UID as id to update an existing resource or create it, if not existing 2021-09-25 13:04:49 +02:00
Ralf Becker
e640873fc0 implement and document PATCH 2021-09-25 12:38:08 +02:00
Ralf Becker
1280de46d6 REST API allow sending a JSON patch to update or create a new contact (currently only via POST or PUT, not as PATCH!)
allows eg. to create a contact from a simple Wordpress contact-form only supporting POST requests and a flat object, see new example in the documentation
2021-09-24 18:06:13 +02:00
nathan
25773a929f Merge remote-tracking branch 'origin/master' into web-components 2021-09-23 10:22:18 -06:00
Ralf Becker
82c8ed51d2 Contacts REST API:
- implement missing PUT/POST of distribution list / CardGroups
- implement changes from next JsContact draft:
  + string plus extra localizations attribute instead of localizedString object
  + use "<domain>:<name>" for vendor attributes
- add/parse urn:uuid: prefix if UID is a UUID
2021-09-20 16:01:22 +02:00
Ralf Becker
e9998161a5 finished REST API for contacts modulo docu and bugs ;)
- JsCardGroup now used for distribution lists
- responses are not in "responses" attribute (no longer in root of object)
- fix sometimes empty / different members between PROPFIND/REPORT/JSON-GET and GET of group (caused by wrongly implemented limit to given AB)
- JSON pretty-print only if requested by Accept: application/pretty+json
- fix invalid JSON for errors (caused by opening {"responses": already sent
2021-09-19 11:09:44 +02:00
Ralf Becker
7617aae9d0 got POST, PUT and DELETE request to add, update and delete contacts working
added JSON exception handler with nicer JsCalendar parse errors
2021-09-17 20:15:36 +02:00
nathan
d944372e14 Change some more menulists into selects 2021-09-17 10:05:11 -06:00
Ralf Becker
5e2995234b fix double class attribute in menulist and menupopup by using select 2021-09-16 21:03:01 +02:00