Commit Graph

30 Commits

Author SHA1 Message Date
nathan
02dce82010 Merge branch 'master' into web-components 2021-10-06 14:02:22 -06:00
Ralf Becker
5c19e0c699 remove only chunks older then 2 days, to allow UI to still load them and not require a reload / F5 2021-09-26 10:53:27 +02:00
Ralf Becker
582793d52b Revert "Bring web-component work into master branch"
To many things are not working :(
- addressbook, infolog, even timesheet index lacks at least r/o textbox and problably other widgets
- smallPART (with many extra widgets) is completly unusable
- *box widget seems not to skip empty boxes
--> we need more testing and progress, before we can merge that

This reverts commit 9cee681b94.
2021-09-03 11:28:22 +02:00
nathan
9cee681b94 Bring web-component work into master branch 2021-09-02 10:52:10 -06:00
Guy Bedford
2ba73fc91c ensure browser resolutions are used 2021-08-27 07:58:30 +02:00
Guy Bedford
2526b0460e fix: node_modules resolutions 2021-08-27 07:58:30 +02:00
Ralf Becker
cfb8f5d453 fix errors installing/building JS stuff with not specified full path 2021-08-16 13:46:42 +02:00
nathan
ad00156113 Merge branch 'master' into web-components 2021-07-19 14:15:52 -06:00
Ralf Becker
59ac3f4bda always name generated file app.min.js so client-side can load it without knowing source is .ts or .js
--> fixes client-side initiated load errors
2021-07-19 08:31:06 +02:00
nathan
1294bc99c6 Some cleanup
- Add but comment out decorators plugin so we know about it, but don't use it yet
- Better instanciation of button image node
- Remove previous mixin experiments
- Start on trying to get click handler parsing & working
2021-07-14 16:11:20 -06:00
nathan
a3f1e8d367 This enables decorators (@property) but it breaks some of our existing widgets (eg: et2_searchbox properties go missing).
I've no idea why.
2021-07-14 11:59:44 -06:00
Ralf Becker
2f155e0d79 fix popups of apps without app.ts/js wont work as eT2 is not available
it get's included by the app.ts/js otherwise
2021-07-13 21:02:08 +02:00
Ralf Becker
812d0d91c0 using sync versions to work with nodejs 12.x
nothing to gain from the async/promises version
2021-07-13 08:30:51 +02:00
Ralf Becker
23dcf58137 remove not needed egw_dragdrop_dhtmlx_tree endpoint 2021-07-10 07:40:56 +02:00
Guy Bedford
a85335beaf build: fix node_modules resolution 2021-07-10 07:23:46 +02:00
Ralf Becker
d11cb4bb7e Adding carbon lit components tutorial
https://github.com/carbon-design-system/carbon-web-components#basic-usage
Thought Rollup gives following Babel error:
Error: Could not load /Volumes/htdocs/egw-test/node_modules/carbon-web-components/es/components/dropdown/@babel/runtime/helpers/esm/decorate.js (imported by node_modules/carbon-web-components/es/components/dropdown/dropdown-item.js): ENOENT: no such file or directory, open '/Volumes/htdocs/egw-test/node_modules/carbon-web-components/es/components/dropdown/@babel/runtime/helpers/esm/decorate.js'
2021-07-09 20:16:24 +02:00
Ralf Becker
e8da7caa64 fix after rollup build popups need extra reload
caused by no longer necessary import of etemplate2 in egw.js, as Promise works and etemplate2 is global
2021-07-07 10:32:06 +02:00
Guy Bedford
e742cce89e enable terser source maps 2021-07-05 17:35:44 +02:00
Ralf Becker
dd020f6f4c using warning.toString() instead of warning message, giving eg. the file using this, while circular dependencies are displayed the same 2021-07-04 09:54:44 +02:00
Ralf Becker
96dff06453 change rollup.config.js to scan for all installed apps, and run rollup as part of install-cli.php automatic 2021-07-02 15:24:12 +02:00
Ralf Becker
569d95f4b5 remove invalid import and add smallPART app.ts to rollup.config.js 2021-07-02 09:05:30 +02:00
Ralf Becker
8133547729 use app.js (without min) 2021-07-01 17:54:23 +02:00
nathangray
2a02ce0b46 Get news_admin working with rollup 2021-06-30 15:35:17 -06:00
nathangray
154946f39e Get news_admin loading with rollup 2021-06-30 14:21:58 -06:00
nathangray
708e09a337 Get import/export working 2021-06-30 14:09:12 -06:00
nathangray
56e8d6aeff Preferences app working with rollup 2021-06-30 13:30:27 -06:00
nathangray
935e46c7e8 Get Kanban working with rollup, removed the js files 2021-06-30 11:34:33 -06:00
Ralf Becker
d7cd90ebe7 fix skipping timestamps, but preferring .min.js over .js
added more apps to rollup.config.js (ones givening errors are commented out)
2021-06-29 15:21:19 +02:00
nathangray
3add958afa The results of Guy Bedford's help
Egroupware will load into addressbook & show rows
Most base files should be bundled server-side & included
rollup.config.js controls the process

Still needs work:
- consider /dist directory for best-practice
- cleanup
- other built-in apps
- EPL / external apps need Guy's multi-stage work
2021-06-25 14:49:24 -06:00
nathangray
e822511be4 An initial rollup config 2021-06-23 16:29:53 -06:00