Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
a886c55
Add npm to project
Stigmatoz Feb 24, 2023
fe98ee9
Powershell script to copy and minify files to target dir
Stigmatoz Feb 24, 2023
aa83f35
Powershell script to zip
Stigmatoz Feb 24, 2023
13d2438
Using typescript
Stigmatoz Mar 7, 2023
4751bf7
Integrate vue 3
Stigmatoz Mar 17, 2023
bb4b0ff
Add tailwind
Stigmatoz Mar 17, 2023
7ac499b
Add tab class
Stigmatoz Mar 17, 2023
0f0ecd7
Using local storage
Stigmatoz Mar 19, 2023
5f76886
Add tabs repository
Stigmatoz Mar 24, 2023
142b0bd
Add content script for tracking
Stigmatoz Mar 24, 2023
46c6b6d
Injecting storage
Stigmatoz Mar 24, 2023
ba8ee29
Setting badge function
Stigmatoz Mar 25, 2023
1ea300d
Continuation of tracker changes
Stigmatoz Mar 25, 2023
edc7b84
Add time intervals (add and close interval)
Stigmatoz Apr 7, 2023
ddafdd4
Get current tab function
Stigmatoz Apr 6, 2023
9a17910
Tab repository
Stigmatoz Apr 5, 2023
20e2288
Update package.json scripts
Stigmatoz Apr 8, 2023
9573fa8
Tab repository as singleton
Stigmatoz Apr 8, 2023
3000a78
Remove flag "all_frames" from manifest for content-script
Stigmatoz Apr 4, 2023
d8e73a4
Fix getting data from storage
Stigmatoz Apr 8, 2023
71d0cb2
Add store (pinia) with current tab url
Stigmatoz Apr 9, 2023
51e85b1
Fix vite build
Stigmatoz Apr 17, 2023
3076a00
Change storage implementation
Stigmatoz Apr 17, 2023
c8d3dd5
Add compositions for block list and limit list
Stigmatoz Apr 18, 2023
2dbad7e
Add global environment variables
Stigmatoz Apr 23, 2023
4b56ee1
Change manifest
Stigmatoz Apr 23, 2023
5be32dd
Add logger
Stigmatoz Apr 23, 2023
c18c62c
Change store for current active tab
Stigmatoz Apr 25, 2023
9ab390e
Main tracker.ts
Stigmatoz Apr 25, 2023
8474196
View time in badge
Stigmatoz Apr 25, 2023
24a235c
Saving tabs to the storage every 5 seconds
Stigmatoz Apr 26, 2023
6021a31
Parse and cast objects from browser storage to class object
Stigmatoz Apr 26, 2023
9d45c6e
Change active tab module
Stigmatoz Apr 28, 2023
df5bc3f
Change getting deserialisable objects
Stigmatoz Apr 30, 2023
57c3259
Time intervals
Stigmatoz Apr 30, 2023
70b01e4
Change tracker
Stigmatoz Apr 30, 2023
e09803b
Refact utils
Stigmatoz Apr 30, 2023
8bb6cef
Refact badge component
Stigmatoz Apr 30, 2023
432b2a3
Fix types
Stigmatoz May 4, 2023
7ef6ee5
Small refact tracker
Stigmatoz May 10, 2023
f4ec75f
Update favicon after loading page
Stigmatoz May 11, 2023
85411eb
Loading tabs for today
Stigmatoz May 11, 2023
6947a76
Update getting from black list with and without www
Stigmatoz May 11, 2023
c44f6d1
Add view with tab items
Stigmatoz May 11, 2023
d8c311c
Add progress bar
Stigmatoz May 11, 2023
cf07e61
Change logic for updating favicon and remove permission "webNavigation"
Stigmatoz May 18, 2023
5874ef9
Change popup UI and add settings page
Stigmatoz May 18, 2023
5a410d7
Build extension (and zip)
Stigmatoz May 18, 2023
67c8068
Vite vuild extension
Stigmatoz May 19, 2023
f5bdc13
Update list items
Stigmatoz May 25, 2023
4b607e6
Remove option host permissions
Stigmatoz May 25, 2023
e9ad89a
Tabs on popup
Stigmatoz May 25, 2023
efe600a
Header for lists
Stigmatoz May 25, 2023
3d34bcb
Scheduler for jobs
Stigmatoz May 26, 2023
3da0ba4
Add chart js and prepare for donut chart
Stigmatoz May 26, 2023
252ed6f
Change vite build again
Stigmatoz May 26, 2023
edf4e39
Fix chart style
Stigmatoz May 26, 2023
41278c0
Add components for today and all days data summary
Stigmatoz May 29, 2023
ace2b6e
Change file folder
Stigmatoz May 29, 2023
46ac5be
Prepare for sorting by
Stigmatoz May 30, 2023
8885329
Add prettier format
Stigmatoz May 30, 2023
915a66c
Change packages
Stigmatoz May 31, 2023
41b7712
Fix counting time and sessions
Stigmatoz May 31, 2023
a5789a4
Sorting by sessions and web usage
Stigmatoz May 31, 2023
710ba72
Open link from list
Stigmatoz Jun 1, 2023
22837be
Fix tooltip for chart
Stigmatoz Jun 1, 2023
2643c25
Prepare for saving any settings & save VIEW_TIME_IN_BADGE
Stigmatoz Jun 1, 2023
94239cd
Sorting by for all websites
Stigmatoz Jun 1, 2023
c820dcd
Fill overall stats for all days
Stigmatoz Jun 2, 2023
2001a3f
Loading lists only after tab selection
Stigmatoz Jun 2, 2023
c3d1784
Fix getting all sites & pass count of days to tab list header
Stigmatoz Jun 3, 2023
437a775
Add several settings and add general css
Stigmatoz Jun 4, 2023
e778d2f
About tab in settings
Stigmatoz Jun 4, 2023
990d2ba
Fix getting data from previous days
Stigmatoz Jun 6, 2023
c2f5717
Track time on local files
Stigmatoz Jun 7, 2023
2d4d8da
Fix error for loading on popup
Stigmatoz Jun 7, 2023
09d75b6
Decode url for documents (cyrillic symbols)
Stigmatoz May 3, 2023
a4a9e4d
Refact tracker (cache current tab for checking every seconds)
Stigmatoz Jun 3, 2023
05842e0
Cache settings
Stigmatoz Jun 3, 2023
c190df1
Chart by days
Stigmatoz Jun 10, 2023
4f3c639
Get the most day except today
Stigmatoz Jun 11, 2023
e9fd648
Get average time by days
Stigmatoz Jun 11, 2023
79fc9f1
List of tabs for days
Stigmatoz Jun 12, 2023
a1e66df
Fix error after test migration data from old version
Stigmatoz Jun 12, 2023
550fd84
Load only first 100 websites for summary statistics
Stigmatoz Jun 13, 2023
f169991
Preloader for tab list and by days
Stigmatoz Jun 14, 2023
02d5f27
Set goodbye page after uninstall
Stigmatoz Jun 15, 2023
c74eb02
Fix initial for empty data
Stigmatoz Jun 16, 2023
ca5cd13
White list in settings
Stigmatoz Jun 16, 2023
b492979
Refact saving settings
Stigmatoz Jun 17, 2011
0cca9cb
White list
Stigmatoz Jun 17, 2023
f502408
Load data by days
Stigmatoz Jun 17, 2023
42bd301
Date selector if no data for selected range
Stigmatoz Jun 17, 2023
2d03a8c
Export to csv from tabs by days
Stigmatoz Jun 17, 2023
ac15cbc
Export to csv from settings
Stigmatoz Jun 17, 2023
2a52149
Dashboard template
Stigmatoz Jun 24, 2011
fc35d3e
Loading settings tab by click
Stigmatoz Jun 25, 2023
408e7c2
Fix error after saving inactivity interval
Stigmatoz Jun 25, 2023
b546ab3
Add/remove limits
Stigmatoz Jun 25, 2023
6d410ff
Remove packages from dependencies
Stigmatoz Jul 2, 2023
8abbfbf
Add block.html to vite build
Stigmatoz Jun 26, 2023
40754b2
Open block page iss limit exceeded
Stigmatoz Jun 26, 2023
f6a9ff3
Badge for domain list if site has limit
Stigmatoz Jun 27, 2023
67b3412
Remove dark mode (temporaly)
Stigmatoz Jun 27, 2023
70a6a9c
Edit limits
Stigmatoz Jun 28, 2023
8141ff3
Defering limits
Stigmatoz Jun 28, 2023
64fbf35
Open previous url after defering
Stigmatoz Jun 28, 2023
cdfcc9a
Daily notifcation setting
Stigmatoz Jun 29, 2023
6c88a78
Send daily summary notification
Stigmatoz Jun 29, 2023
53317f6
Use one component for list with time
Stigmatoz Jul 5, 2023
952e5aa
Fix schedule time
Stigmatoz Jul 7, 2023
239486f
Show notifications for websites
Stigmatoz Jul 7, 2023
581089d
Fix filter tab list by days (and export)
Stigmatoz Jul 10, 2023
0e31528
Remove old time intervals
Stigmatoz Jul 10, 2023
db0c851
Refact calling refreshing jobs after saving notification time
Stigmatoz Jul 10, 2023
0738ac1
Build assets folder to output dir
Stigmatoz Jul 11, 2023
eb412ac
Show stats exlude today
Stigmatoz Jul 11, 2023
187e8ab
Change name and description extension in manifest
Stigmatoz Jul 12, 2023
892005e
Base for localization
Stigmatoz Jul 12, 2023
e7f3c0e
Copy locales to output folder
Stigmatoz Jul 12, 2023
9235462
Prepare localization
Stigmatoz Jul 14, 2023
174b364
Russia and english locale
Stigmatoz Jul 15, 2023
06888b9
Remove old code
Stigmatoz Jul 15, 2023
9785eb5
Format
Stigmatoz Jul 15, 2023
c9676e8
Set default language according to browser language
Stigmatoz Jul 15, 2023
7751b3e
Fix archive script
Stigmatoz Jul 15, 2023
a24fb02
Convert inactivityInterval to number
Stigmatoz Jul 15, 2023
00629e4
Add locale for blocked page
Stigmatoz Jul 15, 2023
8be64e6
Fix daily notifications
Stigmatoz Jul 19, 2023
f4f9bb2
Change plugin for vite i18n
Stigmatoz Jul 19, 2023
64da821
Fix summary daily usage
Stigmatoz Jul 19, 2023
39e6bbe
Fix badge icon for limit during sorting
Stigmatoz Jul 19, 2023
07de42f
Build zip result file
Stigmatoz Jul 19, 2023
bcfcc24
Add german locale
Stigmatoz Jul 21, 2023
c0302fb
Fix notification after start
Stigmatoz Jul 21, 2023
138310b
Change string format for time
Stigmatoz Jul 22, 2023
1f3e96a
Fix most active/inactive days
Stigmatoz Jul 22, 2023
dc69854
Add description for block and pass domain favicon on blocked page
Stigmatoz Jul 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
artifacts
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Config files
.webextrc
.webextrc.*
6 changes: 6 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
singleQuote: true
trailingComma: all
endOfLine: lf
printWidth: 100
tabWidth: 2
arrowParens: avoid
33 changes: 33 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "web-activity-time-tracker",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite build --watch --mode development",
"start": "vite build --watch --mode production",
"format": "prettier --write .",
"script:zip": "vite build --mode production && powershell scripts/zip.ps1"
},
"dependencies": {
"@vueuse/core": "^10.2.1",
"chart.js": "^4.3.0",
"date-fns": "^2.30.0",
"rollup-plugin-copy": "^3.4.0",
"vue": "^3.2.47",
"vue-chartjs": "^5.2.0",
"vue-i18n": "^9.2.2"
},
"devDependencies": {
"@intlify/unplugin-vue-i18n": "^0.12.2",
"@kyvg/vue3-notification": "^2.9.1",
"@types/webextension-polyfill": "^0.10.0",
"@vitejs/plugin-vue": "^4.0.0",
"@vuepic/vue-datepicker": "^5.3.0",
"typescript": "^5.0.4",
"vite": "^4.1.4",
"vite-plugin-web-extension": "^3.0.0",
"vue-tsc": "^1.2.0",
"webextension-polyfill": "^0.10.0"
}
}
Loading