Commit Graph

225 Commits

Author SHA1 Message Date
4bec0dd32c refactor: extract dataset functionality out of db class 2026-03-02 19:18:05 +00:00
4961ddc349 refactor: move db dir into server 2026-03-02 19:05:56 +00:00
45229a3f04 Merge pull request 'Missing title field in database events column' (#4) from fix/missing-title-field-database into main
Reviewed-on: #4
2026-03-02 19:00:14 +00:00
c9151da643 feat: add custom error for non-existent dataset 2026-03-02 18:59:31 +00:00
18c8539646 fix: server error when attmepting to access non-existant dataset 2026-03-02 18:55:27 +00:00
6d8f2fa4e0 feat: add custom exceptions file 2026-03-02 18:54:11 +00:00
1f6d92b1a8 fix: include title in db schema 2026-03-02 18:42:03 +00:00
2ae9479943 Merge pull request 'Fix broken filtering endpoints' (#3) from fix/broken-filtering into main
Reviewed-on: #3
2026-03-02 18:32:00 +00:00
dd44fad294 fix(db): incorrect NER column name in database saving 2026-03-02 18:30:52 +00:00
5ea71023b5 refactor: move query parameter extraction function out of flask app 2026-03-02 18:29:09 +00:00
37cb2c9ff4 feat(querying): make filters stateless
Stateless filters are required as the server cannot store them in the StatGen object
2026-03-02 16:18:02 +00:00
82a98f84bd refactor: combine query results into one endpoint 2026-03-01 19:06:49 +00:00
8b4adf4a63 refactor: update filtering method names 2026-03-01 18:44:46 +00:00
a6adea5a7d fix: broken stat_gen filter methods 2026-03-01 18:28:08 +00:00
47be4d9586 Merge pull request 'Storage of user data and datasets in PostGreSQL' (#2) from feat/database-integration into main
Reviewed-on: #2
2026-03-01 16:47:25 +00:00
7ddd625bf8 fix: database schema missing type column 2026-03-01 16:40:00 +00:00
07ab7529a9 refactor: update analysis classes to accept DataFrame as parameter instead of instance variable 2026-03-01 16:25:39 +00:00
d20790ed4b fix: incorrect dataset authorisation check 2026-03-01 16:10:42 +00:00
d3c4d883be Merge branch 'auth-test' of gitea:dylan/crosspost into auth-test 2026-03-01 16:01:48 +00:00
a975f3bdba docs: update gitignore 2026-03-01 16:01:47 +00:00
5fb7710dc2 feat: dataset now persists to database 2026-03-01 16:01:15 +00:00
0be9ff4896 feat: add dataset processor class 2026-03-01 15:01:34 +00:00
2493c6d465 feat: add save_dataset method to db 2026-03-01 15:01:07 +00:00
d0a01c8d2f feat: unify posts and comments tables 2026-03-01 15:00:54 +00:00
d73f4f1c45 Merge branch 'main' into auth-test 2026-02-25 08:59:32 +00:00
fb99d4ae15 feat(api): add average emotion per user into per user analysis 2026-02-24 18:57:00 +00:00
6695d3d272 refactor: improve API wording & cleanup code 2026-02-24 15:55:56 +00:00
ce0aa6bc43 feat(nlp): remove surprise & neutral emotions from NLP processing
These emotions often dominate due to the writing style of online users and don't provide an accurate picture of the sentiment.
2026-02-24 15:28:30 +00:00
e82ac8d73b feat(api): add stance markers & avg emotion per entity 2026-02-24 15:12:17 +00:00
ccba6a5262 feat(api): add cultural analysis endpoint with identity markers 2026-02-24 14:25:53 +00:00
41f10c18cf feat: add nlp cols to database schema 2026-02-24 14:13:41 +00:00
058f3ae702 feat: update schema to include posts and comments 2026-02-23 22:53:15 +00:00
be6ab1f929 feat: add profile endpoint to view user details 2026-02-23 22:43:55 +00:00
3165bf1aa9 feat: add login endpoint 2026-02-23 22:40:26 +00:00
29a4e5bb22 feat: add database schema 2026-02-23 22:36:07 +00:00
dc919681fd docs: update requirements.txt 2026-02-23 22:27:46 +00:00
0589b2c8a5 feat: add /register endpoint 2026-02-23 22:27:32 +00:00
96a5bcc9e8 feat: add database & auth manager classes 2026-02-23 22:27:15 +00:00
66f1b26cc8 build: add docker compose for postgres database 2026-02-23 22:26:58 +00:00
257eb80de7 feat(api): add average thread length per emotion 2026-02-23 19:09:48 +00:00
3a23b1f0c8 feat(api): add average thread depth 2026-02-23 18:14:34 +00:00
8c76476cd3 fix(api): broken analysis calls due to overlap in attribute and method names 2026-02-23 18:14:24 +00:00
397986dc89 refactor(frontend): rename InteractionStats to UserStats 2026-02-23 17:15:14 +00:00
04b7094036 feat(api): add cultural endpoint 2026-02-23 17:14:12 +00:00
c11b4bb85b refactor: move NLP to analysis dir 2026-02-17 18:51:15 +00:00
289f4254db fix(backend): broken null timestamp handling 2026-02-17 18:49:03 +00:00
ed0dd8cdbc feat(nlp): add Named Entity Recognition to dataset 2026-02-17 18:48:45 +00:00
8fbf32b67c feat(linguistic): add most common 2, 3 length n-grams 2026-02-17 18:26:40 +00:00
d27ba3fca4 refactor: extract interaction and linguistic analysis into dedicated classes 2026-02-17 18:00:16 +00:00
83010aee55 refactor: extract emotional analysis out of stat_gen 2026-02-17 17:40:29 +00:00