Commit Graph

77 Commits

Author SHA1 Message Date
Carlos Valente 2fa397548a Feat/navigate (#81)
* feat/navigate upgrade react router
* feat/navigate migrate to react router 6
* feat/navigate style modal
* feat/navigate create endpoints for app settings
* feat/navigate protect editor with pin
* feat/navigate apply dynamic routing draft
* feat/navigate upgrade relevant packages
* feat/navigate restructure directory and add tests
* feat/navigate test aliases validation
* feat/navigate validate aliases before sending
* feat/navigate create data endpoint
* feat/navigate config: prettier
* feat/navigate invalidate empty strings
* feat/navigate create endpoints
* feat/navigate parse on import
* feat/navigate navigate to alias
* feat/navigate user help and sample data
* feat/navigate refact aliases modal
* feat/navigate refact settings style
* feat/navigate update sample db
* feat/navigate link is relative to hostname
* feat/navigate navigate to first match
* feat/navigate update readme and version bump
* feat/navigate config: create shared module
* feat/navigate config: cheat module install
* feat/navigate fix tests
* feat/navigate run tests in pull request
* Update ontime_cy.yml
2022-01-04 22:12:59 +01:00
Carlos Valente 9fc154955a Feat/62 logger (#79)
* feat/62-logger request log data in app
* feat/62-logger refact osc integration
* feat/62-logger feedback on osc
* feat/62-logger refact broadcast on triggers
* feat/62-logger log triggers
* feat/62-logger add link to studio
* feat/62-logger replace toasts with logger context
* feat/62-logger style improvements
* feat/62-logger refactor code duplications
* feat/62-logger cleanup and version bump
2021-12-25 19:39:40 +01:00
Carlos Valente 160ccabebc Config/eslint (#78)
* config/eslint: upgrade eslint config
* config/eslint: version bump
2021-12-22 22:22:21 +01:00
Carlos Valente ac0d5832b6 event cucle (#76)
* install sass
* refact: integration settings
- OSC in its own HTTP endpoint
- OSC settings have own object in db
* refact: simplify event cycle
* refact: restructure external triggers http
* refact: restructure external triggers osc+socket
* refact: restructure data updates
* feat: osc integration class
* IO improvements
- timer uses osc integration
- create trigger handler to manage external triggers
* refact: refract state machine update
* Integration: simple HTTP Client
* Integration: http options in datamodel
* Integration: call http send on life cycle
* feat/62-logging: fix issue #71
2021-12-22 18:17:48 +01:00
Carlos Valente 2751ed3d33 fix/58-countdown
correct issues on countdown clock (#68)
2021-12-16 22:13:41 +01:00
Carlos Valente cd911aaaa2 Fix/58 roll issues (#67)
* fix/58-roll-issues: handle edge cases
2021-12-15 22:31:34 +01:00
Carlos Valente 52f02f153c Hotfix/4.0.2 (#64)
* hotfix 4.0.2: implement playback router
* hotfix 4.0.2: fix studio clock styles
* hotfix 4.0.2: broadcast clock always
* hotfix 4.0.2: fix overflow in timer control
2021-12-14 22:39:01 +01:00
Carlos Valente 3582ce18e1 Feat/studio clock (#61)
* Studio Clock: broadcast change from integration
2021-12-13 21:50:44 +01:00
Carlos Valente 80c2e9a8ba Feat/studio clock (#60) 2021-12-13 21:29:56 +01:00
Carlos Valente 627cce7ba6 Hotfix/4.0.0 (#48)
* validate time string
* handle time entered in seconds
* fix: id in delays and blocks
2021-11-27 20:35:06 +01:00
Carlos Valente 8c740b7111 Feat/excel (#45)
* add dependency

adding dependency to parse the excel file in the node side

* import file

ability to import file
- add extension
- safeguard file type and size

* user is able to upload json or excel

* chore: extract logic into self contained function

* associate model with version

* test id generation

* parse excel data

* prevent UI crash on bad data

* extract validation into self contained function

* chore: add more tests for bad data

* config: stop from opening browser on start

* fix comma in sample db

* handle corrupt files

* error boundary around main components

* jsdocs

* increase id length

* parse excel time string

* feat: excel parsing

* validate json db before import

* chore: test event validator

* feat: make function to clean convert strings

* chore: test parser

* chore: jsdocs

* fix: bug on upload

prevent bug where the component would prevent upload of same file twice
2021-11-24 22:07:31 +01:00
Carlos Valente eb2abb7026 fix: bug in osc goto (#44) 2021-11-22 22:48:55 +01:00
Carlos Valente 09a5aca25a Chore/qol (#41)
* style: prevent timer from resizing container

* style: review half and third screens

* style: prevent delay time from resizing blocks

* style: show now / next titles when container is collapsed

* docs: link to documentation in readme

* Update README.md

* Update README.md

* Update README.md

* style: new image assets

* cleanup

* style: prevent long titles from overflowing containers

* fix: send titles on change

fixed issue that prevented the next title from being broadcast on change
2021-11-16 20:54:36 +01:00
Carlos Valente 885d965db1 Fix/roll (#39)
* roll locks to first

in case there are events with overlapping time, roll will play the one that started first

* sanitize data entry

fixes issue where input field would not return seconds if not modified

* update chakra

* fix time input in chrome

fix issue in chrome where value of input does not contain seconds
2021-11-14 21:13:47 +01:00
Carlos Valente 26cb8a5bfc Feat/seconds (#38)
* change directory structure

move test file to __tests__ at the module directory

* test function

Add more tests to ensure the function remains safe

* fix coverage filter

* change directory structure

move to utilities folder

* refract formatDisplay with tst

* test millis

* test millis to seconds

* refract millis functions

* refractor timeStringToMillis

* create utility consts

* style component

* fixed bug with hidezero parameter

* fix issue with cancelling input edit

* style tweak
2021-11-13 22:39:57 +01:00
Carlos Valente 8d8bbef546 small QOL improvements (#37)
* feat: selected event if is first

* style: fix wrap

- remove wrap tag (broken in firefox)

* feat: add more text to notes

this is a quick fix and does not replace the real deal.
using a text input makes it difficult to edit, this should be revised with a textarea on note field

* upgrade electron

* Stage timer in /sm has placeholder when not running

* fix style issue where clock would move depending on whether there are events selected

* ensure ontime logo and text have a minimum readable size

* fix scrollbar styling

* clean debugging logs

* link to latest release

using gitreleases.dev service for this.
this is a temporary fix until we have a release (in opposition to pre-release) so we can use githubs latest link

* scale gracefully

* fixed error with naming of maxChar
2021-11-09 22:31:55 +01:00
Carlos Valente 207612e3b8 Feat/osc feedback (#35)
* Add roll function call to OSC

* send finished message

* request presenter

* handling badly formatted messages

* loadeventbyindex

add step so that we can pause the titles when loading a new event via an API call (eg. OSC)

* broadcast title data

* handle empty title fields

* send finished message in roll mode

* calling stop is same as calling unload
2021-11-08 22:15:18 +01:00
Carlos Valente 98e5cddad5 Fix/roll titles (#33)
Roll is now calculated with awareness of public and backstage titles
Style improvements on providing feedback on roll mode
2021-11-07 13:13:06 +01:00
Carlos Valente f73d8ae8f4 Merge pull request #21 from cpvalente/fix/roll
Fix/roll
2021-10-31 22:16:56 +01:00
cv ad89a780be fix: time from midnight
fix issue where time from midnight was wrong on days where DST changes
2021-10-31 22:04:19 +01:00
cv 9bc2923586 fix: handle midnight
fixed issue where roll mode wouldnt recognise a end time lower than start time (go through midnight)
2021-10-31 13:38:28 +01:00
cv 93580554bd fix: roll state
fix issue when the call of roll() was resetting the state after trying to load titles
2021-10-31 13:26:32 +01:00
cv 4d2769dee4 fix: recalculate timers
- recalculate timers in same update call if necessary
- use new variable to keep track of upcoming rolling events without recalculating titles
2021-10-31 12:53:46 +01:00
cv 0bb728d76c refract: broadcast state
- ability to broadcast state without recalculating timer
2021-10-31 11:20:35 +01:00
cv 5a68d292e1 fix: reset timers
reset timers as needed with roll mode
2021-10-31 11:16:32 +01:00
cv 3a85a483c1 fix: load titles
fixed issue where titles where not loaded in roll mode
2021-10-29 13:25:45 +02:00
cv ba3f0372dd refract: secondary timer
small fixes on how the timer is calculated
2021-10-29 13:03:47 +02:00
cv 31f1786eae docs: add logs
- add log messages on playback controller
2021-10-29 13:02:57 +02:00
cv e4b712593d fix: roll active with upcoming event
fixed an bug where the next event index 0 was treated as no event found
2021-10-28 17:47:03 +02:00
cv 1305fad6b5 fix: reset timers
reset timers correctly when current event is deleted
2021-10-28 15:27:23 +02:00
cv 1ffd6ff7b0 fix: shutdown
restore shutdown
2021-10-28 14:43:46 +02:00
cv c8e4704daf fix: upload in electron
- fixed issue where upload would fail if folder did not exist
2021-10-28 14:43:34 +02:00
cv b08bc64bd4 feat: import settings 2021-10-28 14:18:59 +02:00
cv f3a4e6405b fix: cleanup merge 2021-10-28 12:31:24 +02:00
cv 0bf663b149 Merge branch 'chore/cleanup' of https://github.com/cpvalente/ontime into chore/cleanup 2021-10-28 12:09:19 +02:00
cv 167174a914 cleanup 2021-10-28 12:08:02 +02:00
cv 1afdd67760 refract
remove unused
cleanup styles
simplify post code
commentz
2021-10-27 22:54:50 +02:00
cv b2a1974a84 feat api endpoint
create post info endpoint
2021-10-27 22:51:22 +02:00
cv 218c94ebd6 chore: update model def 2021-10-27 10:57:02 +02:00
cv 1cad360f55 refract: async
ensure execution order by awaiting function calls
2021-10-26 22:50:30 +02:00
cv a237537366 feat: start services from config
ability to override default ports and whatnot. as of now, it would need a server restart
2021-10-26 22:17:38 +02:00
cv a70cb23242 refract: update socket.io 2021-10-25 22:54:39 +02:00
cv affeb75bcd refract: update dependency
update node-osc
2021-10-24 22:44:29 +02:00
cv 3dc8483d4f refract: update dependency
update lowdb
2021-10-24 22:41:13 +02:00
cv 33d8cbef08 fix: download db path
path changed with folder restructure
2021-10-24 21:28:32 +02:00
cv 5c659758b1 refract: cleanup folder structure
rename data folder models to differentiate from directory of db
2021-10-24 20:50:24 +02:00
cv 55f897b0bd Small Improvements
- update UI on delete all
- fix license
2021-06-14 15:05:08 +02:00
cv 4d7a26a66d fix: delete all
eventlist in timer object was not reset correctly
2021-06-14 14:50:04 +02:00
cv 9b2bd8ee3c small fixes + improvements
- open link in external browser
- stop app from running after install
- fix lowercase path
- fix bug on file upload
2021-06-14 13:19:45 +02:00
cv 8260a50ed2 fix import 2021-06-14 12:59:25 +02:00