Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
toggl-vertec
Advanced tools
toggl-vertec offers two functionalities:
toggl-vertec only does a one time synchronization of new toggl time entries. It will never update or delete existing time entries in vertec, however you can easily do this manually if required.
npm install toggl-vertec
Download your companies' vertec xml server and place it inside the application folder under:
/vertec-xml-server/VertecServer.exe
Open configuration.js and add your toggl api token (can be found in your toggl profile, your vertec user name.
In order to synchronize vertec projects to toggl execute:
node app.js -p
All your vertec projects will be added to your toggl projects list. You can safely delete projects you do not want to book on right now, they will be recreated once you synchronize again. In order to omit recreation you can black list projects, phases and activities in the configuration.js file.
You can also safely rename the project's name in front of the brackets, toggl-vertec only needs the code in the brackets in order to synchronize back the time entries later on.
Now you can start booking in toggl. Before you synchronize back to vertec, assure you correct all entries to be multiples of 30 minutes, as toggl-vertec ignores them otherwise. If you do not actually rely on the time tracking, the easiest way is to use toggl in manual mode.
In order to synchronize toggl time entries to vertec execute:
node app.js
toggl-vertec reads all toggl entries of the last 35 days and synchronizes them to vertec. Once an entry is synchronized it adds the 'vertec' tag to the time entry in toggl in order to not synchronize it again later on. Time entries only get synchronized if a project can be found which has been synchronized before to toggl (see project cache). Time entries to be synchronized must be multiples of 30 minutes, otherwise they are ignored. Time entries having the 'vertec' tag are not being synchronized (again).
The vertec xml server must be able to connect to the vertec database, so you probably need to be connected to your company network, unless the database is publicly exposed.
### 30 mins validation Time entries to be synchronized must be multiples of 30 minutes, otherwise they are ignored.
### Project format The vertec project in toggl can have a random name, however it must end with normal brackets, containing the vertec project, phase and activity code separated by a slash.
Random project name (PROJECTCODE/PHASECODE/ACTIVITYCODE)
Note that manual adding of projects is currently not supported, unless you add them also to the local project cache which is located in vertec-projects.json. Vertec projects are matched by their codes, which must be placed in the
Time entries only get synchronized if they do not already have the vertec tag set in toggl. When you add a new time entry in toggl, it proposes recently added entries having the same name. If you select the proposal and add such an entry again which has already being synchronized, toggl also automatically adds the vertec tag. In this case you must manually delete the tag so that toggl-vertec recognizes it as not being synchonized yet.
Be aware, that if you remove the vertec tag from already synchronized entries they will be synchronized again. You can also use that to your advantage and edit already synchronized entries. However in this case you manually need to remove the previous time entry in vertec.
toggl-vertec does not update previously synchronized time entries, it only adds new ones. In case you want to do that you can manually delete the entry in vertec and remove the vertec tag in toggl and the entry will be synchonized again.
toggl-vertec only adds time entries using the xml vertec server. The xml vertec server is provided by vertec and does the necessary validation. Furthermore toggl-vertec does validation and only adds entries to known projects. There is no guarantee, that everything gets synchronized. You are personally responsible for checking that all entries have been synchronized, nothing got lost on the way and all time entries are valid.
FAQs
A tool for synchronizing toggl entries into vertec.
The npm package toggl-vertec receives a total of 1 weekly downloads. As such, toggl-vertec popularity was classified as not popular.
We found that toggl-vertec demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.