GithubHelp home page GithubHelp logo

blackus3r / post-worktime-logger Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 7.0 956 KB

Post Worktime Logger is a WordPress plugin that allows you to track the time you worked on each post.

Home Page: https://wordpress.org/plugins/post-worktime-logger/

License: GNU General Public License v3.0

PHP 79.22% JavaScript 10.89% CSS 0.80% Dockerfile 1.75% Shell 7.33%
wordpress plugin wordpress-plugin statistics worktime widget statistics-page wordpress-admin

post-worktime-logger's People

Contributors

ak9969 avatar blackus3r avatar emanoelopes avatar henriquearthur avatar mastacheata avatar mazzcris avatar modkaffes avatar selamanse avatar snowl avatar vihainen avatar za avatar zachwills avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

post-worktime-logger's Issues

Consider conforming to the WordPress Coding Standards

Since this is a WordPress plugin it might make sense to conform to the WPCS.

You can add PHPCS and PHPCBF integration so you can run reports to see what lines aren't matching the standard, and PHPCBF will automatically fix some of the issues found (the ones that can be fixed).

Implement options page.

This is needed for #15

This could contains:

  • checkbox "show worktime in post meta"

- reset all worktime button

Add link in readme files

I think it is a good idea, to link to my blogs series of post worktime logger like this:

German changelog and tutorials of ths plugin can be found on DerPade

Unit tests

We should think about unit tests.
This should at least test, that the calculation of the worktime is always working correct.

Customization

It would be cool to see a level of customization. Even if only in the colors of the toolbars.

Check translations in widget

I have installed version 1.3.0 and there are untranslated strings.

Please have a lookt, if this already fixed in 1.4.0

Bracket missing in a readme string

Hello,

There’s a bracket missing at the end of the following Readme file string:

Implemented a statistics page to show the top 25 posts (worktime.

Regards,
Besnik

Add option in widget settings to enable/disable logging

In my case, i only want to show the working time for a post in the frontend instead of tracking the worktime, when I look at the posts.

this should be a new checkbox in the widget options, like this:

  • Disable frontend time tracking

Customization

It would be cool to see a level of customization. Even if only in the colors of the toolbars.

Improve statistics page

Implement a number input field to change the number of posts shown in the statistics page.

Please use an input of type number, like this:

<input type="number" name="numberOfPosts" min="1" max="250">

Also check in backend, if we got a valid value!!!

Dont forget:

  • checkout swimlane/1.4.0 for this feature
  • make a pullrequest into swimlane/1.4.0
  • Reference this issue
  • Comment on this issue, if you are working on it.

Add dev setup info and dockerfile

Just wanted to add my dev setup as a PR (if you are interested).
it's a basic docker image and a docker-compose.yml which sets up a running Wordpress 4.6.1 with mysql backend (final setup steps are needed).

Notice in widget.php

Notice: Undefined index: disableFrontendTimeTracking in wp-content/plugins/post-worktime-logger/widget.php on line 89

Release v1.2.1

  • fix readme.txt
  • fix changelog
  • fix stable tag
  • fix version

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.