Patrick Jentsch
|
2f2992da3a
|
Remove deleted file from Dockerfile
|
2021-09-22 14:15:53 +02:00 |
|
Patrick Jentsch
|
1ccdccd0bc
|
Fix cli run commands
|
2021-09-22 14:13:59 +02:00 |
|
Patrick Jentsch
|
8618e1b8bf
|
Remove unused files.
|
2021-09-22 14:01:47 +02:00 |
|
Patrick Jentsch
|
ee0efcf17f
|
Rename cli functions to not interfere
|
2021-09-22 13:58:46 +02:00 |
|
Patrick Jentsch
|
17cbfd71b4
|
Rename TaskRunner to Daemon (because it essentially is one) and restructure cli
|
2021-09-22 13:53:39 +02:00 |
|
Patrick Jentsch
|
e0219e84c9
|
Preliminary work for better socket.io event handling.
|
2021-09-22 13:52:51 +02:00 |
|
Patrick Jentsch
|
d29190907f
|
code cleanup
|
2021-09-22 13:51:45 +02:00 |
|
Patrick Jentsch
|
1832f1d3c8
|
Remove unused import
|
2021-09-22 13:50:43 +02:00 |
|
Patrick Jentsch
|
08fec74cff
|
Use threading.Thread for @background decorator again.
|
2021-09-22 13:50:26 +02:00 |
|
Patrick Jentsch
|
371cd30893
|
Let socketio decorators return instead of randomly emiting messages.
|
2021-09-22 13:49:22 +02:00 |
|
Patrick Jentsch
|
0d96a572e4
|
Change api root routes, so that they don't have a trailing slash
|
2021-09-16 14:20:18 +02:00 |
|
Patrick Jentsch
|
5469bd0ec1
|
Don't use module level logger functions
|
2021-09-16 11:15:31 +02:00 |
|
Patrick Jentsch
|
2af74db46f
|
Make it possible to configure different log levels for stderr and file logging
|
2021-09-16 11:04:47 +02:00 |
|
Patrick Jentsch
|
e2c68a1a80
|
Enable advanced logging features
|
2021-09-15 17:58:17 +02:00 |
|
Patrick Jentsch
|
727553412f
|
add flag to socketio, hope it will improve firefox compatibility
|
2021-09-15 15:26:43 +02:00 |
|
Patrick Jentsch
|
6c7f3be785
|
Let gunicorn print access log to the terminal
|
2021-09-15 15:26:13 +02:00 |
|
Patrick Jentsch
|
1b342d5159
|
Use gunicorn as the default webserver
|
2021-09-15 14:15:23 +02:00 |
|
Patrick Jentsch
|
34c4f38b52
|
Fix bug on corpus analysis startup
|
2021-09-15 14:14:23 +02:00 |
|
Patrick Jentsch
|
52c25fd563
|
Simplify Config setup and move some functions to dedicated files
|
2021-09-15 12:31:53 +02:00 |
|
Patrick Jentsch
|
8a69d6364a
|
Add more examples
|
2021-09-14 16:17:26 +02:00 |
|
Patrick Jentsch
|
523faaea05
|
Fix wording
|
2021-09-14 13:01:19 +02:00 |
|
Patrick Jentsch
|
a5b1df9e95
|
Add simple api package including authentication (BasicAuth and TokenAuth)
|
2021-09-14 12:52:23 +02:00 |
|
Patrick Jentsch
|
def01d474e
|
Add UTC flag to date strings
|
2021-09-14 12:51:49 +02:00 |
|
Patrick Jentsch
|
0a9bea0740
|
Remove api fragments
|
2021-09-13 17:38:07 +02:00 |
|
Patrick Jentsch
|
05c6f1afa6
|
Simplify Login mechanism code
|
2021-09-13 17:36:19 +02:00 |
|
Patrick Jentsch
|
81ed16603d
|
Remove current_app and current_user usage in forms.
|
2021-09-13 16:36:48 +02:00 |
|
Patrick Jentsch
|
10483c1e45
|
Fix Date display issue in UserList
|
2021-09-13 16:35:09 +02:00 |
|
Patrick Jentsch
|
4950a407af
|
rename blueprint variables (blueprint_name -> bp) and view files (views.py -> routes.py)
|
2021-09-13 11:45:43 +02:00 |
|
Patrick Jentsch
|
bc5c8ef074
|
handle email job status updates with the sqlalchemy event handlers
|
2021-09-10 16:25:32 +02:00 |
|
Patrick Jentsch
|
281e568edf
|
Use ISO 8601 as the default datetime format
|
2021-09-08 12:56:51 +02:00 |
|
Patrick Jentsch
|
8c871d83d0
|
Upgrade python version 3.9.0 -> 3.9.7
|
2021-09-08 12:56:27 +02:00 |
|
Patrick Jentsch
|
9d59aa3409
|
Move event handlers to a dedicated event directory
|
2021-09-07 13:50:23 +02:00 |
|
Patrick Jentsch
|
0861d931ce
|
Add an abort criterion when exporting query results
|
2021-08-24 09:50:32 +02:00 |
|
Patrick Jentsch
|
cedce5545d
|
Fix wrong corpus analysis link in sidenav
|
2021-08-24 09:21:43 +02:00 |
|
Patrick Jentsch
|
e2669e6c25
|
Add missing exception handler
|
2021-08-23 16:43:47 +02:00 |
|
Patrick Jentsch
|
5cd18c4c2a
|
Sort after list ressource list insertions
|
2021-08-23 16:34:25 +02:00 |
|
Patrick Jentsch
|
280c544297
|
Fix job result duplication after job restart
|
2021-08-23 16:31:06 +02:00 |
|
Patrick Jentsch
|
a5782f932c
|
Do not manually emit corpus changes via socket.
|
2021-08-23 12:29:31 +02:00 |
|
Patrick Jentsch
|
c7b2c413d3
|
Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into development
|
2021-08-23 11:04:10 +02:00 |
|
Patrick Jentsch
|
fd5fcf9821
|
Change exception handling in corpus analysis
|
2021-08-23 11:04:09 +02:00 |
|
Patrick Jentsch
|
1a59b19124
|
Handle all ressource events with unified sqlalchemy event handlers.
|
2021-08-20 14:41:40 +02:00 |
|
Patrick Jentsch
|
98a43ec86f
|
Use sqlalchemy events to emit jsonpatches to the client.
|
2021-08-18 15:11:11 +02:00 |
|
Patrick Jentsch
|
5662140a8d
|
Add a flag to all db Model to_dict methods: include_relationships
|
2021-08-18 15:09:56 +02:00 |
|
Patrick Jentsch
|
869c1ba632
|
Fix corpus service creation
|
2021-08-16 12:09:50 +02:00 |
|
Patrick Jentsch
|
99c43cc1a6
|
some style updates
|
2021-08-09 11:02:09 +02:00 |
|
Patrick Jentsch
|
575dc45242
|
Rework a lot of daemon code. Add missing patch messages
|
2021-08-04 17:07:59 +02:00 |
|
Patrick Jentsch
|
da350474fb
|
standardize the use of service name handles, e.g. file-setup instead of file_setup
|
2021-08-04 12:26:49 +02:00 |
|
Patrick Jentsch
|
ec7a88f36e
|
Simplify color setup in templates
|
2021-08-04 09:07:18 +02:00 |
|
Patrick Jentsch
|
468b079d63
|
simplify gitignore
|
2021-07-20 15:29:42 +02:00 |
|
Patrick Jentsch
|
d6ab379418
|
Change directory structure (move ./nopaque/* to ./)
|
2021-07-20 15:07:42 +02:00 |
|
Patrick Jentsch
|
ff39d8d650
|
Check if a cqpserver container up for running corpus analysis sessions
|
2021-07-16 13:07:01 +02:00 |
|
Patrick Jentsch
|
1120d094b2
|
Use correct color for error messages
|
2021-07-16 11:10:54 +02:00 |
|
Patrick Jentsch
|
096424e1e4
|
Restructure some javascript
|
2021-07-16 10:51:39 +02:00 |
|
Patrick Jentsch
|
03adcdeebc
|
Restructure some css
|
2021-07-16 10:51:14 +02:00 |
|
Patrick Jentsch
|
11a9b4f640
|
create small subtemplates for each block und apply new breadcrumbs logic
|
2021-05-28 15:51:23 +02:00 |
|
Patrick Jentsch
|
adbd212660
|
Update color scheme definition and some codestyle enhancements
|
2021-05-27 13:05:46 +02:00 |
|
Patrick Jentsch
|
bc6f06bc48
|
Fix Flask version number
|
2021-05-12 11:03:37 +02:00 |
|
Patrick Jentsch
|
33f22bb73c
|
Remove unused imports
|
2021-05-12 11:03:18 +02:00 |
|
Patrick Jentsch
|
bc87bf67bf
|
more exception handling
|
2021-05-08 16:47:41 +02:00 |
|
Patrick Jentsch
|
966cdc824a
|
remove validity check of result files for now
|
2021-05-07 16:53:41 +02:00 |
|
Patrick Jentsch
|
2d0f6f50f8
|
Fix edge case problems in corpus analysis
|
2021-05-07 15:49:47 +02:00 |
|
Patrick Jentsch
|
a357ae2857
|
Remove dummy UI elements and open the CQP Tutorial in a dedicated browsertab
|
2021-05-05 15:05:24 +02:00 |
|
Patrick Jentsch
|
c0d337137e
|
Designpatch 2/2
|
2021-05-05 10:05:12 +02:00 |
|
Patrick Jentsch
|
04e53fef98
|
Designpatch 1/2
|
2021-05-04 17:27:57 +02:00 |
|
Patrick Jentsch
|
430bcf53ea
|
Fix non functioning sidebar button in mobile view
|
2021-05-03 15:59:02 +02:00 |
|
Patrick Jentsch
|
2964ab7a13
|
Remove nopaque title section on homepage
|
2021-05-03 15:58:39 +02:00 |
|
Patrick Jentsch
|
f2a5fe3143
|
Make Jobs restartable when they are "complete"
|
2021-05-03 11:12:40 +02:00 |
|
Patrick Jentsch
|
f4233093c0
|
Remove debug code
|
2021-05-03 11:12:13 +02:00 |
|
Patrick Jentsch
|
9790e783e3
|
Add missing migrations
|
2021-04-14 14:16:32 +02:00 |
|
Patrick Jentsch
|
f65ab646e9
|
implement fixed version numbers
|
2021-04-14 12:00:09 +02:00 |
|
Patrick Jentsch
|
2f9ecf8048
|
Update service pages and how version data is gathered.
|
2021-03-26 13:10:42 +01:00 |
|
Patrick Jentsch
|
55d94ea329
|
Use hard coded values for ressources
|
2021-03-26 12:15:33 +01:00 |
|
Patrick Jentsch
|
45f37fcf24
|
Add new nopaque icons
|
2021-03-26 11:35:43 +01:00 |
|
Patrick Jentsch
|
351004b795
|
First work on fixed versioning
|
2021-02-19 13:00:52 +01:00 |
|
Patrick Jentsch
|
76e3ffb9fa
|
integrate flash method into the nopaque appClient
|
2021-02-09 15:05:49 +01:00 |
|
Patrick Jentsch
|
63ec304263
|
Make the AppClient a subscriber of current_user jobs
|
2021-02-09 13:59:43 +01:00 |
|
Patrick Jentsch
|
846ba31023
|
Only create a TaskRunner object when task execution is triggered by the cli
|
2021-02-09 11:10:30 +01:00 |
|
Patrick Jentsch
|
49e4c837d6
|
fix query_result path logic
|
2021-02-01 13:50:07 +01:00 |
|
Patrick Jentsch
|
ab9e5347be
|
Add missing socketio messages
|
2021-02-01 13:39:38 +01:00 |
|
Patrick Jentsch
|
996ed1c790
|
Remove user session loop. Instead send ressource updates directly on change
|
2021-02-01 12:51:07 +01:00 |
|
Patrick Jentsch
|
ee9fdd1017
|
Use console.error for error message
|
2021-02-01 10:00:05 +01:00 |
|
Patrick Jentsch
|
37f98bb4ec
|
Use the user data reference to access corpora, jobs or query results. Now all values should update as they should in lists an displays
|
2021-02-01 09:57:10 +01:00 |
|
Patrick Jentsch
|
54be3b4a79
|
Reduce daemon sleep timer even more 3 -> 1
|
2021-01-28 13:22:07 +01:00 |
|
Patrick Jentsch
|
a76c8f1d29
|
Remove Corpus.max_nr_of_tokens column, instead set it as primitve class member
|
2021-01-28 11:33:04 +01:00 |
|
Patrick Jentsch
|
c8dc215c02
|
Change db values Corpus.current_nr_or_tokens and Corpus.max_nr_of_tokens from BIGINT to Integer
|
2021-01-28 11:29:58 +01:00 |
|
Patrick Jentsch
|
a30ade34b1
|
Reduce daemon sleep timer 10 -> 3
|
2021-01-28 11:26:41 +01:00 |
|
Patrick Jentsch
|
9cff7d76aa
|
Use simple Python 3 super() funtion
|
2021-01-28 11:26:09 +01:00 |
|
Patrick Jentsch
|
2b1a74efb8
|
use flush, refresh and rollback instead of intemediate commit statements
|
2021-01-28 11:25:02 +01:00 |
|
Patrick Jentsch
|
07191b36b2
|
More template code for query builder
|
2021-01-18 15:07:13 +01:00 |
|
Patrick Jentsch
|
ea5bace7db
|
Add query builder template
|
2021-01-18 14:45:26 +01:00 |
|
Patrick Jentsch
|
e0bbc517e9
|
Use Flask-Assets to compile multiple Javascript files to one
|
2021-01-18 13:22:00 +01:00 |
|
Patrick Jentsch
|
6bc5e5f7b1
|
Remove Debug statements
|
2021-01-18 13:21:39 +01:00 |
|
Patrick Jentsch
|
18c96fce4b
|
Some Renaming
|
2021-01-18 12:50:58 +01:00 |
|
Patrick Jentsch
|
bda7a782ec
|
Wording update
|
2021-01-18 09:25:08 +01:00 |
|
Patrick Jentsch
|
8552cbd20c
|
Merge branch 'daemon-rework'
|
2021-01-14 15:24:20 +01:00 |
|
Patrick Jentsch
|
84c86c81e7
|
Make the corpus analysis runnable again
|
2021-01-14 15:18:50 +01:00 |
|
Patrick Jentsch
|
223ae773d6
|
reference corresponding ressources (jobs/queryresults) in JobList and QueryResultList
|
2021-01-14 12:30:49 +01:00 |
|
Patrick Jentsch
|
f8bdfa3a04
|
use 'msg' instead of 'desc' key for error messages
|
2021-01-13 15:44:39 +01:00 |
|
Patrick Jentsch
|
4bf456d8ef
|
Check if corpus is exportable before exporting it
|
2021-01-13 15:43:23 +01:00 |
|
Patrick Jentsch
|
a52db602d9
|
Add back corpus export.
|
2021-01-13 15:23:04 +01:00 |
|