cattr-app / desktop-application Goto Github PK
View Code? Open in Web Editor NEWElectron-based desktop time tracker for Cattr
License: Other
Electron-based desktop time tracker for Cattr
License: Other
Hi,
I've used your app and it seems to be very useful so well done. the only problem i have so far is that i can't work more than 1 hour on any task. if so, i will get an error like this
Error: Length of interval must be less than an hour
the time duration won't be uploaded to my server and it will fail to take a screen capture. any suggestions in order to fix this??
On Ubuntu 21.10 with XFCE
Start Cattr when windows restarts, or does cattr run as a service?
It throws an error currently.
Hello AmazingCat Devs,
We, me and my boss, like your platform, but it is missing some features, so I decided to add what I came up with.
I would like to be contributor for your Cattr platfrom. I have already started developing a useful feature on the three apps - desktop, backend and almost frontend (I just finished the backend and desktop apps, now starting the UI in the frontend).
The feature records the time spent in each open application and window title change.
If you are interested, please accept my access request in git.amazingcat.net, and I can push a feature branch for you to test it out.
Also I would like to ask why this desktop app does not have a repository in git.amazingcat.net?
Cheers,
Michael,
Netsales.BG Ltd.
Hello! I redid the desktop application, made a production build, then launched the Windows package, but it got up at the moment "rebuilding native dependencies [email protected], [email protected], [email protected], [email protected], [email protected] platform=win32 arch=x64
• install prebuilt binary name=keytar version=7.9.0 platform=win32 arch=x64 napi=". What could be the problem?
P.S The same thing on the linux
client sent invalid chunked body, client: 180.xxx.xxx.xxx, server: www.xxxxx.com, request: "POST /time-intervals/create HTTP/1.1"
Cattr desktop application 3.0.0-RC6, Is it possible to see the error logs?
Or does it generate error logs?
Hello, I have translated cattr into Spanish, but I cannot configure the default language to be Spanish, whenever I start the application it shows the English language.
I always have to go to the user configuration and select the Spanish language.
Prevent users from closing the app:
Some users close the application on purpose, so that the activity is not monitored, is there a way to prevent users from closing the application?
Hey! Is it possible to use your api for the application, and not the api cattr?
hello
is it possible with password protected service stop or user/employee cant remove without password ? protected
case some people may be uninstall like they dont like monitoring so
is there way forcefully we can do it ?
The user remains inactive on the front-end's who's the online status (green dot on the user's avatar) after the user resumes to work.
When I run npm install
its returns the following error
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@cattr%2fnode - Not found
npm ERR! 404
npm ERR! 404 '@cattr/node@^4.0.0-RC4' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
Anyone can help with this?
I found this package on npmjs @amazingcat/node-cattr, it is compatible?
Taking long time..
npm run package-linux
> [email protected] package-linux
> npx electron-builder -p never -l appimage deb tar.gz
• electron-builder version=23.6.0 os=5.15.0-72-generic
• loaded configuration file=package.json ("build" field)
• electron-rebuild not required if you use electron-builder, please consider to remove excess dependency from devDependencies
To ensure your native dependencies are always matched electron version, simply add script `"postinstall": "electron-builder install-app-deps" to your `package.json`
• writing effective config file=target/builder-effective-config.yaml
• rebuilding native dependencies [email protected], [email protected], [email protected], [email protected], [email protected] platform=linux arch=x64
• install prebuilt binary name=keytar version=7.9.0 platform=linux arch=x64 napi=
More logs using yarn
#35 (comment)
It's not huge, but user is losing 1s on every screenshot period (sometimes 2s).
So you work from 8:00 to 16:00, have a screenshot every 1min, and when you stop at 16:00 cattr would show on dashboard 7:52 work time.
Hi, I have a single task set up for all my users.
However users forget to click the button to start tracking the task.
Or when they restart the application, the task goes into pause mode.
Is there a way to start tracking the task automatically when starting the application?
can you help me during setup of desktop app
getting problem unable to setup in windows or linux machine
when i run npm installation step for desktop app for custom installation
i setup pull server code from development branch
in client side
i can't see tasks list in windows version
in linux with same account i can't see tasks list
what should i do?
I get the following error in the desktop app when I try to connect it to my hosted cattr. My hosted cattr server runs just fine and logs in with no problems. I just can't seem to get the desktop app to work.
Login failed
Cattr is not found on this hostname
Cattr desktop 3.0.0-RC10 can't send screenshots to server
[D] [2023-05-16T21:22:25.408Z] [TaskTracker] Interval captured by timer request
[D] [2023-05-16T21:22:25.435Z] [TaskTracker] Capturing interval: 2023-05-16T21:21:24.732Z ~ 2023-05-16T21:22:25.406Z (duration = 60)
[D] [2023-05-16T21:22:25.516Z] [Controller:Time] Created a new track for task (c53254fb-c9d3-45cf-a800-cec9f87e1524): 60
[D] [2023-05-16T21:22:25.516Z] [TaskTracker] Track time is updated (+60 ticks)
[D] [2023-05-16T21:22:26.169Z] [Screenshot] Captured in 651ms
[D] [2023-05-16T21:22:26.169Z] [TaskTracker] Screenshot captured
[W] [2023-05-16T21:22:26.178Z] [Controller:Time-Intervals] Backing up time interval request
[E] [2023-05-16T21:22:26.179Z] [Controller:Time-Intervals] (API500) Error during interval & screenshot push: Error: Unknown message
at Object.module.exports.pushTimeInterval (C:\Users\Sistemas\AppData\Local\Programs\Cattr\resources\app.asar\app\src\controller\time-intervals.js:227:9)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async TaskTracker.captureCurrentInterval (C:\Users\Sistemas\AppData\Local\Programs\Cattr\resources\app.asar\app\src\base\task-tracker.js:631:32)
[E] [2023-05-16T21:22:26.180Z] [TaskTracker] (API500) Error occured during the interval submit: Error: Unknown message
at TaskTracker.captureCurrentInterval (C:\Users\Sistemas\AppData\Local\Programs\Cattr\resources\app.asar\app\src\base\task-tracker.js:684:11)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
[D] [2023-05-16T21:25:27.181Z] [TaskTracker] Interval captured by timer request
[D] [2023-05-16T21:25:27.192Z] [TaskTracker] Capturing interval: 2023-05-16T21:24:27.625Z ~ 2023-05-16T21:25:27.179Z (duration = 60)
[D] [2023-05-16T21:25:27.384Z] [Controller:Time] Updated track for task (c53254fb-c9d3-45cf-a800-cec9f87e1524): 240s (delta = +60s)
[D] [2023-05-16T21:25:27.384Z] [TaskTracker] Track time is updated (+60 ticks)
[D] [2023-05-16T21:25:27.871Z] [Screenshot] Captured in 487ms
[D] [2023-05-16T21:25:27.871Z] [TaskTracker] Screenshot captured
[W] [2023-05-16T21:25:27.876Z] [Controller:Time-Intervals] Backing up time interval request
[E] [2023-05-16T21:25:27.876Z] [Controller:Time-Intervals] (API500) Error during interval & screenshot push: Error: Unknown message
at Object.module.exports.pushTimeInterval (C:\Users\Sistemas\AppData\Local\Programs\Cattr\resources\app.asar\app\src\controller\time-intervals.js:227:9)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async TaskTracker.captureCurrentInterval (C:\Users\Sistemas\AppData\Local\Programs\Cattr\resources\app.asar\app\src\base\task-tracker.js:631:32)
[E] [2023-05-16T21:25:27.877Z] [TaskTracker] (API500) Error occured during the interval submit: Error: Unknown message
at TaskTracker.captureCurrentInterval (C:\Users\Sistemas\AppData\Local\Programs\Cattr\resources\app.asar\app\src\base\task-tracker.js:684:11)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.