Commit Graph

236 Commits

Author SHA1 Message Date
scopesorting
4859ff6803 ensuring that len(df_times) always works. Preventing 'None' from occuring 2023-12-01 09:42:48 +02:00
scopesorting
834da84786 minot adjustments & refactoring 2023-11-28 16:49:16 +02:00
scopesorting
8027620f22 fixing the 'KeyError' when using an empty times dataframe. Returning 'green' 2023-11-28 16:48:53 +02:00
c36e913472 added trace output and fixed a bug when saving shipcalls without times 2023-11-28 16:48:16 +02:00
81a45f57cf Catch exception if one occurrs during saving 2023-11-27 17:26:37 +01:00
2b43dc49d9 extended gitignore for local flask 2023-11-27 14:37:23 +01:00
8d63fece15 Version bump to 1.0.0.0 2023-11-25 16:01:03 +01:00
56ade40aef fixed creating new shipcalls and cleaned up logon error message display 2023-11-25 12:15:38 +01:00
5c6d41470c created 0.9.7 version with some minor fixes 2023-11-25 11:39:45 +01:00
721baa3a06 moved schedule import after venv sitepackage path set 2023-11-22 10:48:27 +01:00
66bfd326cc
Merge pull request #18 from puls200/feature/update_shipcalls_routine
Feature/update shipcalls routine
2023-11-22 10:36:34 +01:00
9b5206572a
Merge pull request #16 from puls200/feature/hotfix_20231114
Feature/hotfix 20231114
2023-11-22 10:30:04 +01:00
scopesorting
fd0efe0046 adding schedule routine jobs, which will be executed in a background thread within WSGI while running the Flask application. 2023-11-21 12:47:04 +01:00
scopesorting
9346920a97 potentially solving the 'shipcall_id' error log 2023-11-21 11:51:49 +01:00
scopesorting
3cc1591aba potentially correcting 0006A/0006B 2023-11-21 11:41:56 +01:00
scopesorting
a5220fd6f2 refactoring: simplification of error messages. These now stem from a string, which is the function name. Previously, the inspect module was used with a rather complex function call to obtain the method's name. The simplification makes code more readable for future work. 2023-11-20 16:43:27 +01:00
scopesorting
49bbb77624 refactoring a few methods 2023-11-20 16:35:31 +01:00
scopesorting
40dc022b25 fixing np to_list error, which may have caused the evaluation function to stop altogether. 2023-11-20 16:22:58 +01:00
scopesorting
21e9c75781 typo. 2023-11-14 12:07:59 +01:00
scopesorting
c6d1bf30a6 adapting rules 0001-L & 0001-M (times terminal) and 0006-B. However, for 0006-B the provided solution is not verified, as the errors could not be reproduced locally. 2023-11-14 12:06:39 +01:00
fd5bd76db2
Merge pull request #15 from puls200/feature/hotfix_20231110
Feature/hotfix 20231110
2023-11-10 18:07:12 +01:00
scopesorting
e9aace6268 creating stub objects for every single validation function. Unit tests are created for each function to check whether they return 'GREEN' whenever no violation is expected, or 'YELLOW'/'RED' when a rule violation is artificially forced. The test framework now successfully runs 116 unit tests. Adapted some validation functions, applied refactoring and solved potential obstacles along the way. At least from the perspective of unit tests, every function now works as expected. 2023-11-10 17:59:08 +01:00
scopesorting
b2cde8b6f5 correcting the open issues from 09.11.2023 (0001 A-M was previously commited, 0006A+B are corrected herein) 2023-11-10 17:50:01 +01:00
9d61b95378 Version bump to 0.9.6 2023-11-10 14:36:25 +01:00
09623f1442 bugfixes and small improvements for 0.9.5 test results 2023-11-10 14:13:06 +01:00
scopesorting
d99188dc98 Merge branch 'develop' of github.com:puls200/brecal into dev_recent 2023-11-10 13:39:08 +01:00
f0fa9285af fixed ETA/ETD sorting by taking agency values into account 2023-11-10 11:46:43 +01:00
d439b7ed12 fixed removing of assignments (delete times record), removed green bg color 2023-11-10 11:36:17 +01:00
b7a8b3aa1b Bugfix: switch arrival/departure berth combobox for incoming / outgoing calls (just for display, not logical) 2023-11-08 07:55:21 +01:00
1a0fb6f9ef fixed gitignore file and copy scripts 2023-11-07 09:00:14 +01:00
scopesorting
2374cf4ff0
Feature/removing pandas warning (#14)
* removing the Pandas 'sqlalchemy' warning by refactoring

* removing the Pandas 'sqlalchemy' warning by refactoring.

* reformatting
2023-11-07 07:08:52 +01:00
scopesorting
8606e1fdb6 removing the Pandas 'sqlalchemy' warning by refactoring
removing the Pandas 'sqlalchemy' warning by refactoring.

reformatting
2023-11-04 10:26:43 +01:00
b75ea6891c fixed path in app.config 2023-11-01 17:03:15 +01:00
ead190d219
Merge pull request #11 from puls200/feature/hotfix_20231031_traffic_lights
Validation rule bug fixes as noted in test version 0.9.4
2023-11-01 16:07:38 +01:00
c72f1676aa
Merge pull request #12 from puls200/bugfix/fixes_0.9.4
Bugfix/fixes 0.9.4
2023-11-01 16:01:36 +01:00
44de849430 fixed little bugs, bumped version and set API endpoint to (correct for develop branch) brecaldevel endpoint 2023-11-01 15:53:29 +01:00
a82080b970 Fixed berth display changing between add and update 2023-11-01 11:10:28 +01:00
scopesorting
8e2e676cb0 hotfixing open errors, as defined by Daniel Schick and Christin Hollman (26.10. and 27.10.). Adding descriptions for the error codes instead of using 'cryptic' function names. This should make the application much more readable. 2023-10-31 18:15:59 +01:00
4aa7d65790 updated devel publishing profile 2023-10-31 16:42:51 +01:00
1695ca101e Set development / feature branch to 'devel' settings, added scripts to move to test and to production. Added script to increase version, store version and to update the respective files 2023-10-29 17:56:06 +01:00
f2ecc7ca2e make ETA/ETD the default sort order 2023-10-28 13:02:18 +02:00
b254759562 fixed mixup in enum ids outgoing/shifting for shipcall queries 2023-10-28 12:43:36 +02:00
d24cc67554 Allow saving of user data also if password change info has not been given 2023-10-28 12:07:07 +02:00
6c87142cac added deployment info and fixed production publishing profile 2023-10-27 08:46:29 +02:00
41cae96922 Make user email and phone editable through the role editor 2023-10-26 16:29:24 +02:00
c8e634156b Allow changes of users phone and email contact info by the user 2023-10-26 16:29:17 +02:00
3e63b9ce46 added missing paranthesis 2023-10-26 16:21:26 +02:00
cc284b2612 fixed search query 2023-10-26 16:11:34 +02:00
13c5866884 Fixed eta / etd search error and evaluate searchFromEta as filter used against the back-end to retrieve shipcalls from the past 2023-10-26 15:00:15 +02:00
a763589587 9+10, undo 7 : Berth display when shifting 2023-10-26 14:58:24 +02:00