Commit graph

247 commits

Author SHA1 Message Date
axolotle
c2a62c6796 domaininfo: move "main domain" info in card header 2022-10-10 17:04:08 +02:00
axolotle
3a3846bdac configpanels: allow slots to be passed to ConfigPanel views 2022-10-10 16:58:52 +02:00
axolotle
a216d59098 configpanels: do not display "save" button when non editable 2022-10-10 16:58:52 +02:00
axolotle
7f5392389e add variant prop to Icon 2022-10-10 16:58:52 +02:00
axolotle
b7bc950719 add ExplainWhat component to display a little help popup 2022-10-10 16:58:52 +02:00
axolotle
6d659322b5 add DescriptionRow component 2022-10-10 16:58:52 +02:00
axolotle
dd35c097c8 Add RecursiveListGroup component that display trees 2022-10-10 16:58:52 +02:00
axolotle
8b6db431d6 formitems: add DisplayTextItem for simple text & fix ButtonItem style 2022-10-03 17:41:02 +02:00
axolotle
af2b50d2c0 configpanel: remove args props and handling for now 2022-10-03 17:18:18 +02:00
axolotle
fd60748301 add config action mecanism and filter form without action args in config apply 2022-10-03 17:18:18 +02:00
axolotle
8845451039 rework arg to component parsing to allow a component to render whitout a form group or using another wrapper than 'FormField' 2022-10-03 17:18:18 +02:00
axolotle
52c8fad43a misc form items style and linting fixes 2022-10-03 17:18:18 +02:00
axolotle
9d02438348 add ReadOnlyField to display config readonly values 2022-10-03 17:18:18 +02:00
axolotle
97bd1564c4 Fix FileItem value 'current' prop 2022-10-03 17:18:18 +02:00
axolotle
82aab9a984 rework expression evaluations with dyn getter and more generic evaluation function 2022-10-03 17:18:18 +02:00
axolotle
fd19dcebf6 update FileItem context strategy by reading File content on File change 2022-10-03 17:18:18 +02:00
axolotle
b3e1860b6a merge and externalize breadcrumb computation into the store 2022-02-06 21:03:31 +01:00
axolotle
c672438faa fix Spinner useless binding 2022-02-06 20:46:45 +01:00
axolotle
b7aa8117ec update ConfigPanels using RoutableTabs 2022-02-06 20:42:28 +01:00
axolotle
7d5d29af1e add ConfigPanel component to display a specific panel (can be used as a view) 2022-02-06 20:40:07 +01:00
axolotle
f515b56e3f add RoutableTabs component 2022-02-06 20:34:49 +01:00
axolotle
c178347990 update AbstractForm to be more generic 2022-02-06 20:31:53 +01:00
axolotle
dc0868262e rename TabForm to AbstractForm 2022-02-06 20:07:28 +01:00
axolotle
7cd07ebd39 fix ViewBase loading check 2022-01-31 15:29:38 +01:00
axolotle
8f7ebbbb26 add ConfigPanels component and config panels utilities 2022-01-31 15:28:32 +01:00
axolotle
a19f57c6d6 add TabForm component that act like CardForm 2022-01-05 18:33:45 +01:00
axolotle
343966a2ae move FileItem specific style to its component 2022-01-05 17:43:07 +01:00
axolotle
4547427ac3 improve TopBar buttons responsiveness 2022-01-05 15:56:39 +01:00
axolotle
679cbde646 clean CardForm old disable mecanism 2022-01-05 15:55:21 +01:00
axolotle
490092afee add component Spinner to separate it from WaitingDisplay 2021-11-10 19:06:58 +01:00
axolotle
2af253ae3e ugly fix LazyRenderer bug 2021-11-04 17:12:09 +01:00
Alexandre Aubin
5ceae3e166 Tweak icons used in markdown alert box in config panel for consistency with icons used in diagnosis 2021-10-20 19:17:00 +02:00
Alexandre Aubin
6571b6a0c8 Improve/fix display of icons in markdown alert boxes in config panels 2021-10-20 19:14:29 +02:00
axolotle
c7d8f5fb68 add LazyRenderer component & update AppCatalog 2021-10-01 17:55:59 +02:00
axolotle
9b3ac1fcaf limit ws messages updates to batch of messages & limit number of displayed messages in waiting modal 2021-10-01 17:14:50 +02:00
axolotle
c3087cae5e add 3 plural forms for now for some translation keys 2021-09-20 03:47:30 +02:00
Alexandre Aubin
ff0f5b2fe3
Merge pull request #395 from YunoHost/fix-i18n-pluralize
[fix] An i18n pluralize string
2021-09-19 23:48:45 +02:00
axolotle
13edc4c51d quick and ugly implementation of domain config panel and dns records push 2021-09-18 19:44:22 +02:00
ljf
56bf115511 [fix] An i18n pluralize string 2021-09-15 11:13:35 +02:00
ljf
abfd018a46 [enh] Improve UX in validation 2021-09-13 02:36:16 +02:00
ljf
b9b0dd906f [enh] Add markdown in alert and help 2021-09-13 01:50:07 +02:00
ljf
41a8367f21 Merge remote-tracking branch 'origin/dev' into config-panel 2021-09-12 16:52:09 +02:00
ljf
ad04197287 [enh] Remote validation error displayed on field 2021-08-31 16:05:40 +02:00
ljf
5e554bb4a2 [enh] Be able to delete source file 2021-08-31 04:21:10 +02:00
ljf
358e6978a4 [enh] Add default icon for alert 2021-08-30 15:24:15 +02:00
ljf
f0637c7dd7 [enh] Tags choices, textarea from files 2021-08-30 13:16:20 +02:00
ljf
5557c57252 [enh] display errors if pattern doesn't match 2021-08-27 20:17:34 +02:00
ljf
985f55fd6b [fix] Repair files indicator 2021-08-27 01:10:14 +02:00
ljf
927886334b [enh] Add some step, autocomplete, trim, visibleIf properties 2021-08-27 01:09:36 +02:00
ljf
56df38d999 [enh] Icons in alert config panel 2021-08-26 19:48:49 +02:00
ljf
36a4a21d57 [enh] Adapt the new config panel mechanism to vuejs webadmin 2021-07-30 18:05:13 +02:00
ljf
eac74aacde [fix] Avoid space splits user dropdown in 2 2021-05-08 22:58:10 +02:00
axolotle
ada9a8d0b8 fix FileItem to work with validation
(cherry picked from commit aa5e276cd18a40e8cb190967c609645343702e2e)
2021-05-08 22:30:24 +02:00
ljf
f2dbbe91d0 [enh] Add Import user view 2021-05-08 22:18:11 +02:00
axolotle
043f5acf0d removed BaseSelectize and ZoneSelectize components 2021-04-16 22:37:24 +02:00
axolotle
225b1a5d61 add component TagsSelectize 2021-04-16 22:37:24 +02:00
Alexandre Aubin
e15956c3fe
Merge branch 'dev' into uniformize-actionmap-api 2021-04-12 17:54:32 +02:00
axolotle
1a1da4c0d0 handle validation errors & --force-diskspace 2021-04-10 17:39:20 +02:00
axolotle
9d26e2af70 add an option to the api module to pass a i18n key to display a readable action description 2021-04-09 22:19:48 +02:00
axolotle
128f059724 highlight error message & bigger h for history title 2021-04-08 13:28:56 +02:00
Alexandre Aubin
62b3f2729e Misc cosmetic fixes 2021-03-17 15:35:01 +01:00
axolotle
562fd3d1fe Fix AppConfigPanel and use helper components 2021-02-19 18:56:26 +01:00
axolotle
90636231e2 update ViewBase to use api.fetchAll, Login and PostInstall 2021-02-19 18:38:57 +01:00
axolotle
9bc365f32a Update store and overlay components to new api 2021-02-19 18:36:22 +01:00
axolotle
9c85c42b98 rework Waiting/Error display and Overlay 2021-02-15 15:37:34 +01:00
axolotle
1944c7cc2f add QueryHeader component to display api query infos 2021-02-15 15:18:40 +01:00
axolotle
8eb9001c37 add MessageListGroup component to handle websocket messages 2021-02-15 15:17:54 +01:00
axolotle
d07b3550c5 moved reusable or view partials components to /views/_partials/ 2021-02-11 16:54:03 +01:00
axolotle
bdde8b39c0 Rework error handling
allow full control of error handling with global fallback handler
add 404 error
add websocket opening control for get methods
2021-02-11 15:22:42 +01:00
axolotle
8c1772e7c6 add message for forbidden dynDNS and fix diagnosis cards paddings 2021-01-19 18:32:19 +01:00
axolotle
2fbedbfd30 fix history not displaying all messages when enlarged during an action 2021-01-19 16:23:29 +01:00
Axolotle
8273b52898 linting 2021-01-09 13:02:26 +01:00
Axolotle
9ebd0a4558 meow 2020-12-16 15:09:19 +01:00
Axolotle
fb3c178593 add no-footer prop to remove default footer on CardForm 2020-12-16 12:36:45 +01:00
Axolotle
6f028961c0 update views using skeletons and component helpers 2020-12-16 12:16:43 +01:00
Axolotle
0486865f56 Add ViewBase component to deal with skeletons and initial views queries, update ViewSearch accordingly 2020-12-16 12:15:19 +01:00
Axolotle
694bdb6ea1 Add Card component helper and update CardForm to use it 2020-12-16 12:12:37 +01:00
Axolotle
5077072747 add basic skeletons components 2020-12-16 12:08:18 +01:00
Axolotle
b1fcfe2e13 renamed TopBar and ViewSearch 2020-12-15 13:48:28 +01:00
Axolotle
2b80a0b1e0 add SearchView helper component 2020-12-04 18:18:47 +01:00
Axolotle
5afe52f4a6 add ViewTopBar component 2020-12-04 18:16:57 +01:00
Axolotle
cd4f307b89 removed ws message from waiting modal and display console during action 2020-11-30 16:07:28 +01:00
Axolotle
a4b463fc99 small fix ApiWaitOverlay & GroupList 2020-11-29 11:51:53 +01:00
Axolotle
6210eef3a9 add labels to search item and always display remove button on item 2020-11-27 16:16:37 +01:00
Axolotle
865491831d improved email and domain validators 2020-11-26 16:30:45 +01:00
Axolotle
4dd44ec9d1 add alert variant option for FormField description 2020-11-25 18:27:16 +01:00
Axolotle
864945a2ac Fix various small inconsistencies and styles
login infinite modal, *List style, ToolAdminpw dump, BackupCreate colors
2020-11-25 18:23:52 +01:00
Axolotle
7b33b223b6 fix pacman translation overflow 2020-11-24 12:44:49 +01:00
Axolotle
f9a488fc67 add click and drag handling on YnhConsole 2020-11-24 11:09:13 +01:00
Axolotle
445f4c44a7 remove api call in postinstall 2020-11-05 13:42:18 +01:00
Axolotle
3c5a2810c7 small fix 2020-11-03 20:15:29 +01:00
Axolotle
d347a283ec update GroupList with protected permissions 2020-11-03 20:14:56 +01:00
Axolotle
d51e2b712e add more modularity to FormField and CheckboxItem 2020-11-03 16:11:02 +01:00
Axolotle
af22c9acd9 removed InputHelper 2020-11-02 15:54:49 +01:00
Axolotle
6e5d11ce36 update ToolWebAdmin and AppInstall with validations 2020-11-01 17:05:49 +01:00
Axolotle
6cb9089604 update PasswordForm and views with validations 2020-10-30 17:23:24 +01:00
Axolotle
1a19f9ef21 update DomainAdd views with validation 2020-10-30 13:59:15 +01:00
Axolotle
3af30ba5b6 update form components 2020-10-28 16:50:25 +01:00
Axolotle
691ba8cd9f renamed BasicForm > CardForm 2020-10-27 10:25:57 +01:00
Axolotle
e05b8da533 improved FormField and form items to display validation errors 2020-10-23 17:56:50 +02:00
Axolotle
8f47849887 moved BasicForm into globals and renamed formHelper into FormField 2020-10-23 17:50:58 +02:00
Axolotle
2e13bcd8bd update BasicForm to receive validations object and some base behavior 2020-10-23 17:46:07 +02:00
Axolotle
19d3e58d3f add dynamic global component registration 2020-10-23 17:19:10 +02:00
Axolotle
3cb031df99 fix some cols and catch 2020-10-14 16:59:39 +02:00
Axolotle
14bdfbce2f add experimental error handling 2020-10-14 16:59:39 +02:00
Axolotle
da1442d375 fixed scrollBehavior and root element positionning 2020-10-14 16:59:39 +02:00
Axolotle
6a46132fd7 modify imports of api module 2020-10-14 16:59:39 +02:00
Axolotle
a86e90e49a add YnhConsole component to display history 2020-10-14 16:59:39 +02:00
Axolotle
23aa8bba64 rework message store 2020-10-14 16:59:39 +02:00
Axolotle
b71aeda651 add Overlay to handle waiting screen with store value enabling its show value 2020-10-14 16:59:39 +02:00
Axolotle
c20c538677 rework Breadcrumb and routes definitions to avoid repeating args definitions 2020-10-14 16:59:39 +02:00
Axolotle
64c6aefe63 add route/component transition animation and an option to disable it 2020-10-14 16:59:39 +02:00
Axolotle
67dc725385 set 'required' only for 'InputItem', set base value as null, removed test 2020-10-14 16:59:39 +02:00
Axolotle
f7e47e620c add basic components to be used from props 2020-10-14 16:59:39 +02:00
Axolotle
ad25c7373e add description prop to InputHelper 2020-10-14 16:59:39 +02:00
Axolotle
2df02ae39e add customizable password and domain component to be used in multiples views 2020-10-14 16:59:39 +02:00
Axolotle
50568cbe36 add ToolWebadmin view and set settings store as base store's state 2020-10-14 16:59:39 +02:00
Axolotle
3e8089275d add InputHelper component to deal with ids 2020-10-14 16:59:39 +02:00
Axolotle
ca48a5cc86 add ToolLogs View and route 2020-10-14 16:59:38 +02:00
Axolotle
5d393147d9 moved specific css 2020-10-14 16:59:38 +02:00
Axolotle
adb1d89693 add DomainInfo view and mutation for UPDATE main_domain and DEL domain 2020-10-14 16:59:38 +02:00
Axolotle
b96bae08af switch to Array v-model for AdressInputSelect 2020-10-14 16:59:38 +02:00
Axolotle
59908a46ed reflect changes made to AdressInputSelect to views 2020-10-14 16:59:38 +02:00
Axolotle
bb34b82d49 renamed SplittedMailInput 2020-10-14 16:59:38 +02:00
Axolotle
761967c8ba improved SplittedMailInput 2020-10-14 16:59:38 +02:00
Axolotle
8de6f1070d Add BasicForm helper component and reflect changes 2020-10-14 16:59:38 +02:00
Axolotle
013485b4b0 fixed selected event emition 2020-10-14 16:59:38 +02:00
Axolotle
f14cc2d702 switch to static data in UserList, modifying but not the data store 2020-10-14 16:59:38 +02:00
Axolotle
d4aa49fd34 renamed SelectizeZone 2020-10-14 16:59:38 +02:00
Axolotle
6c53bc1ab9 modify SelectizeZone to use BaseSelectize and leave data unmodified 2020-10-14 16:59:38 +02:00
Axolotle
17e9d5e2fb add BaseSelectize component 2020-10-14 16:59:38 +02:00
Axolotle
90fc7d0092 add base card and controls for GroupList view 2020-10-14 16:59:38 +02:00
Axolotle
f4fe02f798 add component SelectizeZone 2020-10-14 16:59:38 +02:00
Axolotle
4d4dd4fe4f fix SplittedMailInput default value 2020-10-14 16:59:38 +02:00
Axolotle
68dff35b23 testing component for self domain email 2020-10-14 16:59:38 +02:00
Axolotle
15ad0e2972 add sass-resources-load dep and create a global scss file with variables to be imported into every components 2020-10-14 16:59:38 +02:00
Axolotle
ece6b3c41c add a name to Breadcrumb, else big crash with no clues 2020-10-14 16:59:38 +02:00
Axolotle
37d904e1a3 removed import of Breadcrumb component 2020-10-14 16:59:38 +02:00
Axolotle
5c1c00dccd moved Breadcrumb into globals 2020-10-14 16:59:38 +02:00
Axolotle
6f8457381a linting… 2020-10-14 16:59:38 +02:00
Axolotle
bcf9dc2c30 add breakpoint on User view 2020-10-14 16:59:38 +02:00
Axolotle
666899bb45 add ability to also pass a route params when needed in as a traduction variable 2020-10-14 16:59:38 +02:00
Axolotle
1278e1e1d3 add generic breadcrumb with data stored in routes's meta 2020-10-14 16:59:38 +02:00
Axolotle
a0eabf36a8 update icon to display at small size by default 2020-10-14 16:59:38 +02:00
Axolotle
af244e109c removed useless list component 2020-10-14 16:59:38 +02:00
Axolotle
aa19c56933 add icon component & add global import of some components 2020-10-14 16:59:38 +02:00
Axolotle
269dcf1852 add Home view and ListGroupItem component to display main menu items 2020-10-14 16:59:38 +02:00