319 Commits

Author SHA1 Message Date
Paolo Arena
ee6cf47c29 fixed UI dropdown menu.
- eliminate contextmenu.
2019-02-16 03:49:16 +01:00
Paolo Arena
ea18c4e5b9 - Fix: choose language : added flags 2019-02-16 02:01:17 +01:00
Paolo Arena
ffe3fce52b fix: ask updated dbLoadTodo (if something to process) only when is connected... 2019-02-15 14:54:56 +01:00
Paolo Arena
fac16d2d52 Corrected some logic problems...
4 storing:
  - Array in Memory Global state.todos
  - Array temporary filtered arr_todos
  - IndexedDb
  - Database
2019-02-15 01:37:42 +01:00
Paolo Arena
cd0ec40441 Corrected some logic problems...
4 storing:
  - Array in Memory Global state.todos
  - Array temporary filtered arr_todos
  - IndexedDb
  - Database
2019-02-15 01:25:44 +01:00
Paolo Arena
1af2c86067 cleaned some code Promise... 2019-02-14 21:36:16 +01:00
Paolo Arena
1f830b3e98 cleaned some code Promise... 2019-02-14 20:08:22 +01:00
Paolo Arena
aac3bf7cd6 Merge pull request #17 from paoloar77/PushNofit2
Push nofit2
2019-02-14 19:02:19 +01:00
Paolo Arena
bfa8a48211 Fix: Todo Multi refresh ...
fix some promises problem
2019-02-14 19:01:32 +01:00
Paolo Arena
6931d57005 Fix: Todo Multi refresh ...
fix some promises problem
2019-02-14 18:38:23 +01:00
Paolo Arena
e8d2d49829 fix: WebPush Notification 2019-02-13 18:48:30 +01:00
Paolo Arena
06635c87d4 - Created Test Environment un Server test.freeplanet.app
- mongodb open 2 connections port (3000 and 3001) - 27017 and 27018
2019-02-13 01:51:59 +01:00
Paolo Arena
259e2dc4e2 ++ If press DELETE or BACKSPACE and is blank description, delete the Todos.
- fix: if offline, doesn't save to cache??  if I refresh page, the data disappear
- ++ field to the percent progress
- fix: Refreshing 2 times the array todos.. because there is a filter
2019-02-12 19:09:43 +01:00
Paolo Arena
a024b78e95 - cleaned some code.
- routing offline
- pushNotification
2019-02-12 12:06:01 +01:00
Paolo Arena
e755ada1ff - fix: Date problems... (it was a bad "copy" function, the object date was not valid...
- fix: error fetch on loading... (offline appeared)
2019-02-11 02:58:53 +01:00
Paolo Arena
4d5cea1c17 - Manage multiple login, in different browsers... Multi Token...
- visualization of the Connection State (Online, Offline) using fetch.
2019-02-09 18:04:49 +01:00
Paolo Arena
9e16f5ebc6 Merge pull request #16 from paoloar77/Precache
PushNotif
2019-02-08 17:14:31 +01:00
Paolo Arena
b65d0a2386 - creating Alternative to SyncManager
- fix: refreshing with FF now it works!
2019-02-08 17:10:25 +01:00
Paolo Arena
5ee0d8e171 - updated SendReq
- If Server Down the login msg error corrected.
2019-02-07 00:53:10 +01:00
Paolo Arena
cb62d46048 - updated SendReq
- If Server Down the login msg error corrected.
2019-02-06 18:47:54 +01:00
Paolo Arena
cb941568e2 - add: createPushSubscription :
'Subscribed to FreePlanet.app!',
  'You can now receive Notification and Messages.'
2019-02-05 18:17:36 +01:00
Paolo Arena
d8e0ff0bc3 - PUSH Notification 2019-02-05 03:39:56 +01:00
Paolo Arena
a66d83cb23 - add: perimssion and Send Notification to a Service Worker... -> and finally to the App 2019-02-04 16:47:15 +01:00
Paolo Arena
fb099322d4 - fix: check if need refresh.. part 1
- keytab in todo...
2019-02-04 04:17:50 +01:00
Paolo Arena
b2e760faa9 - fix: updated from Store to Component: using Watch with 'immediate' parameters! @Watch('todos_changed', { immediate: true, deep: true })
- fix immediate only if you need to change something very quickly... otherwise it not need.
- fix: modified become FALSE when is sent, otherwise infinite loop...
- fix: created 2 separate tables for POST and PATCH request.
2019-02-04 03:09:15 +01:00
Paolo Arena
13a4a0ba90 - fix: updated from Store to Component: using Watch with 'immediate' parameters! @Watch('todos_changed', { immediate: true, deep: true })
- fix immediate only if you need to change something very quickly... otherwise it not need.
- fix: modified become FALSE when is sent, otherwise infinite loop...
2019-02-03 19:28:06 +01:00
Paolo Arena
602eb6bc20 - fix: updated from Store to Component: using Watch with 'immediate' parameters! @Watch('todos_changed', { immediate: true, deep: true }) 2019-02-03 14:40:20 +01:00
Paolo Arena
990955b6c2 - fix: objectId in javascript, and not created by Mongodb 2019-02-03 03:44:25 +01:00
Paolo Arena
5d987013c5 - fix: update on Insert
- fix: update on Edit
2019-02-03 02:40:24 +01:00
Paolo Arena
5db5fb7dd0 - fix Indexdb:
1) ReadAllData 'GET'  : OK
 2) InsertTodo 'POST'  : OK
 3) DeleteItem 'DELETE': OK
 4) Modify     'PATCH' : OK
2019-02-03 00:51:58 +01:00
Paolo Arena
185bd2657d - fix Indexdb: 1) InsertTodo OK 2019-02-02 21:16:49 +01:00
Paolo Arena
3c6b2c7bef - Service Worker
- Indexdb
2019-02-02 20:13:06 +01:00
Paolo Arena
484439efe0 - Service Worker: Save on IndexDb and Sync to send after to the DB.
- Insert record on MongoDb, POST, GET.
2019-02-01 04:10:31 +01:00
Paolo Arena
f52eb65284 - regular expression for precache
new RegExp(/.*\/(?:css|font).*/),
2019-01-31 17:08:10 +01:00
Paolo Arena
fa7247a338 - Activated Workbox precache PWA !
importScripts('https://storage.googleapis.com/workbox-cdn/releases/3.0.0/workbox-sw.js');

  if (!workbox) {
    workbox = new self.WorkboxSW();
  }

  if (workbox) {
    workbox.core.setCacheNameDetails({prefix: "freeplanet"});

    /**
     * The workboxSW.precacheAndRoute() method efficiently caches and responds to
     * requests for URLs in the manifest.
     * See https://goo.gl/S9QRab
     */
    self.__precacheManifest = [].concat(self.__precacheManifest || []);
    workbox.precaching.suppressWarnings();
    workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

    workbox.routing.registerRoute(/^http/, workbox.strategies.networkFirst(), 'GET');

  }
2019-01-31 13:52:52 +01:00
Paolo Arena
c3739e2b32 Merge pull request #13 from paoloar77/Categories
TodoList
2019-01-30 02:07:17 +01:00
Paolo Arena
a3312e0d05 - Created component SubMenus to permit to call menu with:
- right click
          <q-context-menu ref="contextMenu">
              <SubMenus :menuPopupTodo="menuPopupTodo" :itemtodo="itemtodo" @clickMenu="clickMenu" @setPriority="setPriority"></SubMenus>
          </q-context-menu>

  - click on btn:
              <q-btn flat
                     class="pos-item-popover"
                     icon="menu" >
                  <q-popover self="top right">
                      <SubMenus :menuPopupTodo="menuPopupTodo" :itemtodo="itemtodo" @clickMenu="clickMenu" @setPriority="setPriority"></SubMenus>
                  </q-popover>

              </q-btn>
2019-01-30 02:01:04 +01:00
Paolo Arena
2515bb598e - fix: starting the app it doesn't loaded the SingleTodo correctly...
the problem was:
  import { SingleTodo } from '@components'  // doesn't work:
  Resolve  :
  import { SingleTodo } from '../../SingleTodo'  // correct!
2019-01-30 01:05:31 +01:00
Paolo Arena
818a7a4289 - dialog confirm delete item
- fix: context-menu (right click) declared only once and using twice using:
  @click.native="$refs.popover.$refs.popup.show()"
2019-01-29 23:13:28 +01:00
Paolo Arena
e029f6165e - added Categories to the Task List.
- Drawer added SubMenu : Personal / Work Todo list categories.
2019-01-29 03:12:18 +01:00
Paolo Arena
0225f27535 - adding Progress % 2019-01-29 00:48:04 +01:00
Paolo Arena
e087bdcef5 - adding Progress % 2019-01-29 00:47:27 +01:00
Paolo Arena
0161e6c7e9 - fix: width to 100%
flex: 1;  // get all space
  order: 1;
- focus to InsertTask
2019-01-28 20:39:40 +01:00
Paolo Arena
d8f0ead522 - fix: width to 100%
flex: 1;  // get all space
  order: 1;
2019-01-28 13:31:41 +01:00
Paolo Arena
3f678e28a6 - fix: focus on Edit Description 2019-01-28 11:39:02 +01:00
Paolo Arena
e46e93de61 - if last character is ':' then is like a Title. 2019-01-28 03:13:04 +01:00
Paolo Arena
0733e92acd - Settings label priority as Title
- If drag down, the task become completed
2019-01-27 21:49:10 +01:00
Paolo Arena
83420447d3 - fix it: Order List Todo
- Split Todo List by Priority and by Completed
- Animation drag
2019-01-27 19:09:48 +01:00
Paolo Arena
a9298e47df Merge pull request #12 from paoloar77/Categories
Categories
2019-01-16 12:24:18 +01:00
Paolo Arena
ce9f901b0a - todo: design: flexbox, dragging, icons, priority. 2019-01-16 02:26:43 +01:00