Commit graph

377 commits

Author SHA1 Message Date
Axolotle
a6c2445f47 set some rules as warn and update deps 2020-11-03 20:22:54 +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
b263961d50 update ToolLog with suboperations 2020-11-03 19:10:30 +01:00
Axolotle
d444ef5f6b add download to BackupInfo 2020-11-03 17:27:58 +01:00
Axolotle
01d37e0835 removed mailbox_quota from UserCreate 2020-11-03 16:44:18 +01:00
Axolotle
9caac2439f update AppList & AppInfo with permission labels 2020-11-03 16:30:08 +01:00
Axolotle
141ada2fd2 moved filters into helpers folder 2020-11-03 16:27:30 +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
7a2d8017f3 update AppActions with validation 2020-10-31 16:44:31 +01:00
Axolotle
39c0d81ef1 update custom app install form with validation 2020-10-31 11:38:28 +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
639d88d762 update GroupCreate with validations 2020-10-28 17:17:42 +01:00
Axolotle
3c31867fe6 update UserCreate & UserEdit with helpers and validations 2020-10-28 17:07:38 +01:00
Axolotle
3af30ba5b6 update form components 2020-10-28 16:50:25 +01:00
Axolotle
8f3180031c add more helpers for forms and validations 2020-10-28 16:46:06 +01:00
Axolotle
691ba8cd9f renamed BasicForm > CardForm 2020-10-27 10:25:57 +01:00
Axolotle
8dfae8835d update UserCreate with new helpers 2020-10-23 18:18:45 +02:00
Axolotle
f2d980594a update AppInstall with new helpers 2020-10-23 18:15:13 +02:00
Axolotle
1346197605 add helper to format all manifest args and to reformat a form 2020-10-23 18:14:09 +02: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
4512962412 update deps, install vuelidate and add custom validators 2020-10-23 17:40:12 +02:00
Axolotle
19d3e58d3f add dynamic global component registration 2020-10-23 17:19:10 +02:00
Axolotle
19ae0ccada add 'display_text' arg as an alert 2020-10-16 13:10:23 +02:00
Axolotle
e638a094d8 add instructions 2020-10-14 16:59:39 +02:00
Axolotle
73a7f4c8da update package-lock.json do not look 2020-10-14 16:59:39 +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
ee0a2a0020 updated js dependencies 2020-10-14 16:59:39 +02:00
Axolotle
32ca7e11ec separate handlers and helpers from api module 2020-10-14 16:59:39 +02:00
Axolotle
336165d7ea moved api module into its own folder 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
e2a13f4c35 configure devServer & add WebSocket connection at api call 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
b6bdf5421d add component lazy loading and reorganise dist folder 2020-10-14 16:59:39 +02:00
Axolotle
d309610f44 add rooter restore scroll state when using navigator return/next buttons 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
2b199b712f display routes to /action and /config-panel in expe mode 2020-10-14 16:59:39 +02:00
Axolotle
2267b58ed2 add experimental option feature in TooWebAdmin 2020-10-14 16:59:39 +02:00
Axolotle
7517106633 add AppConfigPanel view/route 2020-10-14 16:59:39 +02:00
Axolotle
c92dfd53d9 fixed SystemUpdate system value & fixed AppInstall check for root path 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
a12dc45229 add AppActions view/route 2020-10-14 16:59:39 +02:00
Axolotle
b1b9e65b7b add AppInstall view/route 2020-10-14 16:59:39 +02:00
Axolotle
84374cdd53 add state users and domains as options getter to be used with selects 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
9e19ab190d add subtags filtering to AppCatalog 2020-10-14 16:59:39 +02:00
Axolotle
3fde9d84bb add custom app install card and update with install routes 2020-10-14 16:59:39 +02:00
Axolotle
ad25c7373e add description prop to InputHelper 2020-10-14 16:59:39 +02:00
Axolotle
8f8b1cc8df add AppCatalog view/route 2020-10-14 16:59:39 +02:00
Axolotle
2d262cae3b add AppInfo view/route 2020-10-14 16:59:39 +02:00
Axolotle
fd13c58250 add AppList view/route 2020-10-14 16:59:39 +02:00
Axolotle
2dfe5746af add PostInstall view/route 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
7710e6a1c3 add installed check and rework login/redirect mecanism 2020-10-14 16:59:39 +02:00
Axolotle
66e4584d2b add SystemUpdate view/route 2020-10-14 16:59:39 +02:00
Axolotle
0a104b57a1 add BackupCreate view/route 2020-10-14 16:59:39 +02:00
Axolotle
d839260b73 add BackupInfo view/route 2020-10-14 16:59:39 +02:00
Axolotle
c559678dca add BackupList view/route + size filter 2020-10-14 16:59:39 +02:00
Axolotle
a073137b30 add Backup view/route 2020-10-14 16:59:39 +02:00
Axolotle
a7fc728b7a fix some post request 2020-10-14 16:59:39 +02:00
Axolotle
6fef804fe1 add Diagnosis view/route 2020-10-14 16:59:39 +02:00
Axolotle
258941646e add ToolPower view 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
d47ecb5d57 add ToolAdminpw view 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
6f37de6d29 add ToolFirewall view 2020-10-14 16:59:39 +02:00
Axolotle
1284237019 add generic scss 2020-10-14 16:59:39 +02:00
Axolotle
1837e3874c add ToolMigrations view 2020-10-14 16:59:39 +02:00
Axolotle
296c526e16 rework api module and add doc 2020-10-14 16:59:39 +02:00
Axolotle
1658c61995 add ToolLog view 2020-10-14 16:59:39 +02:00
Axolotle
f55eae0a95 automaticly add locale to url query and fix small templates 2020-10-14 16:59:39 +02:00
Axolotle
e75b2e3f79 moved locales/ to i18n/ 2020-10-14 16:59:39 +02:00
Axolotle
86e41b070a removed no longer needed plugin init files 2020-10-14 16:59:39 +02:00
Axolotle
c3d25e3a38 update router folder 2020-10-14 16:59:39 +02:00
Axolotle
9d17ea22d6 move router file into its own folder 2020-10-14 16:59:38 +02:00
Axolotle
05fc0a5163 add distanceToNow and readableDate filter from date-fns 2020-10-14 16:59:38 +02:00
Axolotle
7fa75f224c changed locales initialization & add date-fns locale imports 2020-10-14 16:59:38 +02:00
Axolotle
167407e192 add date-fns dep & update deps & optimize date-fns locales imports 2020-10-14 16:59:38 +02:00
Axolotle
179511be17 add 'settings' store with action to mutate locales & add lazy loading of translations 2020-10-14 16:59:38 +02:00
Axolotle
d3f112ac06 rework store and add actions to mutate connected state 2020-10-14 16:59:38 +02:00
Axolotle
33a0820c4b add temp fix for non-json api responses & removed specific api method 2020-10-14 16:59:38 +02:00
Axolotle
57198f5cb0 moved dataStore 2020-10-14 16:59:38 +02:00
Axolotle
ca48a5cc86 add ToolLogs View and route 2020-10-14 16:59:38 +02:00
Axolotle
f25c51d560 add ToolList view 2020-10-14 16:59:38 +02:00
Axolotle
2eeec4d45e disable service stop button if critical service 2020-10-14 16:59:38 +02:00
Axolotle
889422ecbd update ServiceInfo view with data 2020-10-14 16:59:38 +02:00
Axolotle
7cda8b00bc add api getAll method and fixed toolbar button positionning 2020-10-14 16:59:38 +02:00
Axolotle
182f4bf5cc add ServiceList view and ServiceInfo base file + routes 2020-10-14 16:59:38 +02:00
Axolotle
5d393147d9 moved specific css 2020-10-14 16:59:38 +02:00
Axolotle
a7a98ca157 add DomainCert view 2020-10-14 16:59:38 +02:00
Axolotle
c379808e54 Add DomainDns view 2020-10-14 16:59:38 +02:00
Axolotle
c647066c53 removed scss 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
3c3bf11126 add DomainAdd view and mutations 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
62ba2f1a1f add DomainList view and main_domain state 2020-10-14 16:59:38 +02:00
Axolotle
b3db28291f add group delete modal and mutation 2020-10-14 16:59:38 +02:00
Axolotle
013485b4b0 fixed selected event emition 2020-10-14 16:59:38 +02:00
Axolotle
9072f9cccb add GroupCreate view and mutation 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
3955344fa6 add cache functionnality to mutation FETCH_ALL and add state for permissions and groups 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
1eadf1354a rework data store and add FETCH_ALL, also reflect changes to views 2020-10-14 16:59:38 +02:00
Axolotle
a48a2cdb38 add empty GroupList and GroupCreate views and routes 2020-10-14 16:59:38 +02:00
Axolotle
aa444080d7 add api/store DELETE and add user delete modal 2020-10-14 16:59:38 +02:00
Axolotle
2e53898aa3 reflect rename changes 2020-10-14 16:59:38 +02:00
Axolotle
3371bb3251 rename User to UserInfo 2020-10-14 16:59:38 +02:00
Axolotle
4d4dd4fe4f fix SplittedMailInput default value 2020-10-14 16:59:38 +02:00
Axolotle
bbc94179b3 add UserEdit and api PUT 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
7d40b380e2 add breadcrumb into main App template 2020-10-14 16:59:38 +02:00
Axolotle
4c67de3ebd add scss to deal with form col width 2020-10-14 16:59:38 +02:00
Axolotle
5bfa1cda17 add temp post api method and datastore mutation 2020-10-14 16:59:38 +02:00
Axolotle
5e9b2e7ad2 testing some form validation 2020-10-14 16:59:38 +02:00
Axolotle
3a85ce6a97 add a returned value for action 'FETCH' 2020-10-14 16:59:38 +02:00
Axolotle
d7cfa37821 add a default domain selection in UserCreate 2020-10-14 16:59:38 +02:00
Axolotle
11205154bd add domain watch to preselect a domain for mail form in UserCreate 2020-10-14 16:59:38 +02:00
Axolotle
474e70fa92 add FETCH args for custom keyStore and param, separate users and precise user data storing 2020-10-14 16:59:38 +02:00
Axolotle
04fa1ecf01 add validation on UserCreate view 2020-10-14 16:59:38 +02:00
Axolotle
517cc2c88a do not query if data is already there 2020-10-14 16:59:38 +02:00
Axolotle
687d93882a add users data call/storing 2020-10-14 16:59:38 +02:00
Axolotle
b5898d41aa use the dataStore to get domains from userCreate 2020-10-14 16:59:38 +02:00
Axolotle
ea51885361 add a module store to deal with api data and calls and maybe save data to avoid api recalls 2020-10-14 16:59:38 +02:00
Axolotle
55fe70ab33 add base structure for UserCreate view 2020-10-14 16:59:38 +02:00
Axolotle
144706a4ab add action buttons and media queries for UserList view 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
1812ebbac8 add index to import all user related views and modify some routes name 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
98a9cd41e4 moved user views into folder 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
d69bb8b906 add js standard linter and switch to vue the strongly recommended vue linting rules 2020-10-14 16:59:38 +02:00
Axolotle
bcf9dc2c30 add breakpoint on User view 2020-10-14 16:59:38 +02:00
Axolotle
6ef882efd0 add User route and view with skeleton screen 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
07302dfdfe add Users view and route 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
88d7b736e2 improve connection state detection
blocks all api calls until we are sure the user is connected.
if session has expired, force reconnection.
2020-10-14 16:59:38 +02:00
Axolotle
bd148897f8 add handlers for response and errors & api simple get method and version getter 2020-10-14 16:59:38 +02:00
Axolotle
9232961b61 add protection to routes and login/logout behavior 2020-10-14 16:59:38 +02:00
Axolotle
0334515a43 add temp basic api login and logout methods 2020-10-14 16:59:38 +02:00
Axolotle
6fb98f2195 add vuex store with 'connected' state 2020-10-14 16:59:38 +02:00
Axolotle
665b661a2b add dev-server proxy to yunohost/api 2020-10-14 16:59:38 +02:00
Axolotle
d6c7d9abf3 add login view 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
Axolotle
d7a6e80227 add fork-awesome dep 2020-10-14 16:59:38 +02:00
Axolotle
712f22f6d3 add header and footer 2020-10-14 16:59:38 +02:00
Axolotle
a54061249d separate base css to allow bootstrap overrides 2020-10-14 16:59:38 +02:00
Axolotle
d50470712e add router plugin & base routes file and views 2020-10-14 16:59:38 +02:00
Axolotle
74fcec1a62 move assets 2020-10-14 16:59:38 +02:00
Axolotle
d4e64bcc01 add temp browser locale getter 2020-10-14 16:59:38 +02:00
Axolotle
2f2c2ac683 add vue-i18n plugin 2020-10-14 16:59:38 +02:00
Axolotle
bf1f815ca9 moved locales to the new app 2020-10-14 16:59:38 +02:00
Axolotle
76c987701f add bootstrap-vue dep 2020-10-14 16:59:38 +02:00
Axolotle
dfd447f333 create base app structure with vue cli 2020-10-14 16:59:38 +02:00