Giter Site home page Giter Site logo

ultrablue / sillaj-l Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 5.69 MB

A re-coding of the Sillaj time tracker tool using the Laravel php framework.

License: GNU General Public License v3.0

PHP 85.18% Vue 0.04% HTML 4.25% Less 3.22% Stylus 2.93% Blade 4.38%

sillaj-l's People

Contributors

dependabot[bot] avatar ultrablue avatar

Stargazers

 avatar  avatar

Watchers

 avatar

sillaj-l's Issues

Attempting to run migrations in PROD results in an error: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes

This error appears a few times:

'''
$ php artisan migrate


  • Application In Production!     *
    

Do you really wish to run this command? (yes/no) [no]:

yes

Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table

In Connection.php line 685:

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table users add unique users_email_unique(email))

In Exception.php line 18:

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes

In PDOStatement.php line 112:

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
'''

If there's just a start time, an untrapped error happens.

I'm pretty sure it should be ok to have Events that have just start time or just end time. That way, I can create a new Event when I start, and come back and fill in the end time later. Ditto with the end time.
In addition, this lends itself to automatically creating start/end times.

Here's the error:
ErrorException thrown with message "A non-numeric value encountered"

Stacktrace:
#55 ErrorException in /var/www/sillaj-l/app/Http/Controllers/EventController.php:83

Add Clients to Projects

The idea here is to add a Client to Projects. So, rather than saying "IT: Some Project," there would be a Client chooser that would contain IT.

Convert to Livewire

This is a major change, I think. I may need to keep a long-running feature branch open for it and smaller bug fix and enhancement branches open.

Consolidate Meetings Tasks

This is specific to my data.
See about consolidating Meetings Tasks. You have 16 different kinds of meetings, including at least one duplicate. They probably should be reduced to just one: Meetings. And the type appended to the description.

Times like 10: break Events

Carbon\Exceptions\InvalidFormatException
Could not parse '10:': DateTime::__construct(): Failed to parse time string (10:) at position 0 (1): Unexpected character

Duration is broken

When entering a duration, it requires AM/PM. That's not a Duration, that's a time.
In addition, when I do use AM/PM, and later try to list the Event (such as in the Dashboard for that day), I get an Whoops error:

DateTime::modify(): Failed to parse time string (:0) at position 0 (:): Unexpected character (View: /home/sillaj-l-01/public_html/sillaj-l/resources/views/partials/events-list.blade.php) (View: /home/sillaj-l-01/public_html/sillaj-l/resources/views/partials/events-list.blade.php)

Entering hours only in the Event Editor results in an error

Entering a number like 12 results in an error:
Undefined offset: 1

app/Http/Middleware/processTemporalInputs.php:104

It should either be validated or accepted as an hour without minutes.

So:

if ( $timeString has 1 or 2 digits  &&  $timeString >=0 && $timeString <= 24) {
   $hours = $timeString;
   $minutes = 0;
} else {
   The input isn't legal.
}

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.