Commit Graph

149 Commits

Author SHA1 Message Date
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
Paolo Arena
2984f20b58 - todo: added priority, expired, pos fields.
- todo: delete item.
- sorted by fields.
2019-01-14 22:40:30 +01:00
Paolo Arena
3613560c97 - created favicons logo 2019-01-09 00:31:16 +01:00
Paolo Arena
95e54e7c01 - created logo FreePlanet in SVG animation ! 2019-01-08 01:23:25 +01:00
Paolo Arena
f715aab9d5 - created logo FreePlanet in SVG animation ! 2019-01-08 01:22:09 +01:00
Paolo Arena
c98c1e595d Merge pull request #11 from paoloar77/Categories
Categories
2019-01-07 01:20:54 +01:00
Paolo Arena
24e6f47801 - q-table component,
- delete item in indexdb
2019-01-07 01:18:58 +01:00
Paolo Arena
1b9a89b4f5 - fix: to export a Component in typescript, you need to create index.ts in each subfolder of the components folder ! 2019-01-06 23:03:45 +01:00
Paolo Arena
3b13e66f87 - Added VueIdb plugins: $db.mytable.add({myelem:'value'}) to insert a record, and $db.mytable.toArray() to receive the array. 2019-01-05 23:59:47 +01:00
Paolo Arena
ac75215106 Merge pull request #10 from paoloar77/localstorage-1
Localstorage 1
2019-01-05 23:37:40 +01:00
Paolo Arena
46609baef8 - Added VueIdb plugins: $db.mytable.add({myelem:'value'}) to insert a record, and $db.mytable.toArray() to receive the array. 2019-01-05 23:34:29 +01:00
Paolo Arena
fd2321cd20 - starting add Categories
- improved layout drawer
2019-01-05 20:11:41 +01:00
Paolo Arena
f01a3445f7 - VerifiedEmail OK
- Toolbar now save leftDrawerOpen state
- Use LocalStorage to Autologin
2019-01-02 18:01:36 +01:00
Paolo Arena
7c7bf57282 Merge pull request #9 from paoloar77/developing
Developing
2019-01-02 02:10:36 +01:00
Paolo Arena
802f34a893 - Fix: setlang
- Completed work: page '/vref' (Verify registration) OK
2019-01-02 01:58:47 +01:00
Paolo Arena
d0de816ceb When Registration OK, go to Login and show message to verify email. 2019-01-01 03:22:01 +01:00
Paolo Arena
ae08b62b93 Merge pull request #8 from paoloar77/0.03
.env.production file eliminated ! (-> .env)
2018-12-26 21:17:54 +01:00
Paolo Arena
7a217c3ca9 .env.production file eliminated ! (-> .env)
.env.production worked in local
added myconfig
messagepopup working (but not ready yet)
added Graphql (only module)
2018-12-26 21:02:16 +01:00
Paolo Arena
e41eeb43ca Merge branch 'master' of https://github.com/paoloar77/FreePlanet 2018-12-25 19:47:59 +01:00
Paolo Arena
6e023753dc Fixed: in production (with Android phone) -> click on menu doesn't work well 2018-12-25 19:44:39 +01:00
paolo
6edb4c4f28 config change 2018-12-23 00:33:25 +01:00