From 00f32380b65e7a5f1fa0b23e93fcaffd09f28aed Mon Sep 17 00:00:00 2001 From: Xander Date: Mon, 17 Feb 2025 21:53:15 +0200 Subject: [PATCH] first commit1 --- logs/app.log | 780 +++++++++++++++++++++++++++++++++++++++++ routers/product.py | 59 +++- templates/product.html | 75 +++- 3 files changed, 898 insertions(+), 16 deletions(-) diff --git a/logs/app.log b/logs/app.log index f0ec5b8..93bb329 100644 --- a/logs/app.log +++ b/logs/app.log @@ -11729,3 +11729,783 @@ FROM users LIMIT %s 2025-02-17 20:59:14,987 - INFO - [generated in 0.00036s] (1,) 2025-02-17 20:59:15,066 - INFO - ROLLBACK +2025-02-17 21:11:30,815 - INFO - SELECT DATABASE() +2025-02-17 21:11:30,815 - INFO - [raw sql] () +2025-02-17 21:11:30,944 - INFO - SELECT @@sql_mode +2025-02-17 21:11:30,945 - INFO - [raw sql] () +2025-02-17 21:11:31,010 - INFO - SELECT @@lower_case_table_names +2025-02-17 21:11:31,010 - INFO - [raw sql] () +2025-02-17 21:11:31,141 - INFO - BEGIN (implicit) +2025-02-17 21:11:31,141 - INFO - DESCRIBE `ch7a461e0f_link`.`users` +2025-02-17 21:11:31,142 - INFO - [raw sql] () +2025-02-17 21:11:31,207 - INFO - DESCRIBE `ch7a461e0f_link`.`profile` +2025-02-17 21:11:31,207 - INFO - [raw sql] () +2025-02-17 21:11:31,273 - INFO - DESCRIBE `ch7a461e0f_link`.`jobs` +2025-02-17 21:11:31,273 - INFO - [raw sql] () +2025-02-17 21:11:31,339 - INFO - DESCRIBE `ch7a461e0f_link`.`client` +2025-02-17 21:11:31,339 - INFO - [raw sql] () +2025-02-17 21:11:31,404 - INFO - DESCRIBE `ch7a461e0f_link`.`applied_jobs` +2025-02-17 21:11:31,405 - INFO - [raw sql] () +2025-02-17 21:11:31,474 - INFO - COMMIT +2025-02-17 21:11:31,608 - INFO - BEGIN (implicit) +2025-02-17 21:11:31,620 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users + LIMIT %s +2025-02-17 21:11:31,620 - INFO - [generated in 0.00044s] (1,) +2025-02-17 21:11:31,685 - INFO - ROLLBACK +2025-02-17 21:11:37,582 - INFO - SELECT DATABASE() +2025-02-17 21:11:37,583 - INFO - [raw sql] () +2025-02-17 21:11:37,713 - INFO - SELECT @@sql_mode +2025-02-17 21:11:37,714 - INFO - [raw sql] () +2025-02-17 21:11:37,780 - INFO - SELECT @@lower_case_table_names +2025-02-17 21:11:37,780 - INFO - [raw sql] () +2025-02-17 21:11:37,912 - INFO - BEGIN (implicit) +2025-02-17 21:11:37,912 - INFO - DESCRIBE `ch7a461e0f_link`.`users` +2025-02-17 21:11:37,912 - INFO - [raw sql] () +2025-02-17 21:11:37,978 - INFO - DESCRIBE `ch7a461e0f_link`.`profile` +2025-02-17 21:11:37,978 - INFO - [raw sql] () +2025-02-17 21:11:38,044 - INFO - DESCRIBE `ch7a461e0f_link`.`jobs` +2025-02-17 21:11:38,044 - INFO - [raw sql] () +2025-02-17 21:11:38,113 - INFO - DESCRIBE `ch7a461e0f_link`.`client` +2025-02-17 21:11:38,113 - INFO - [raw sql] () +2025-02-17 21:11:38,189 - INFO - DESCRIBE `ch7a461e0f_link`.`applied_jobs` +2025-02-17 21:11:38,189 - INFO - [raw sql] () +2025-02-17 21:11:38,255 - INFO - COMMIT +2025-02-17 21:11:38,387 - INFO - BEGIN (implicit) +2025-02-17 21:11:38,415 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users + LIMIT %s +2025-02-17 21:11:38,416 - INFO - [generated in 0.00071s] (1,) +2025-02-17 21:11:38,482 - INFO - ROLLBACK +2025-02-17 21:11:42,456 - INFO - BEGIN (implicit) +2025-02-17 21:11:42,457 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:11:42,458 - INFO - [generated in 0.00038s] ('admin',) +2025-02-17 21:11:42,531 - INFO - ROLLBACK +2025-02-17 21:11:46,557 - INFO - BEGIN (implicit) +2025-02-17 21:11:46,557 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:11:46,557 - INFO - [cached since 4.1s ago] ('admin',) +2025-02-17 21:11:46,638 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:11:46,638 - INFO - [generated in 0.00083s] () +2025-02-17 21:11:46,706 - INFO - ROLLBACK +2025-02-17 21:12:59,068 - INFO - SELECT DATABASE() +2025-02-17 21:12:59,068 - INFO - [raw sql] () +2025-02-17 21:12:59,198 - INFO - SELECT @@sql_mode +2025-02-17 21:12:59,199 - INFO - [raw sql] () +2025-02-17 21:12:59,264 - INFO - SELECT @@lower_case_table_names +2025-02-17 21:12:59,264 - INFO - [raw sql] () +2025-02-17 21:12:59,396 - INFO - BEGIN (implicit) +2025-02-17 21:12:59,397 - INFO - DESCRIBE `ch7a461e0f_link`.`users` +2025-02-17 21:12:59,397 - INFO - [raw sql] () +2025-02-17 21:12:59,462 - INFO - DESCRIBE `ch7a461e0f_link`.`profile` +2025-02-17 21:12:59,462 - INFO - [raw sql] () +2025-02-17 21:12:59,530 - INFO - DESCRIBE `ch7a461e0f_link`.`jobs` +2025-02-17 21:12:59,530 - INFO - [raw sql] () +2025-02-17 21:12:59,598 - INFO - DESCRIBE `ch7a461e0f_link`.`client` +2025-02-17 21:12:59,598 - INFO - [raw sql] () +2025-02-17 21:12:59,664 - INFO - DESCRIBE `ch7a461e0f_link`.`applied_jobs` +2025-02-17 21:12:59,664 - INFO - [raw sql] () +2025-02-17 21:12:59,730 - INFO - COMMIT +2025-02-17 21:12:59,864 - INFO - BEGIN (implicit) +2025-02-17 21:12:59,901 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users + LIMIT %s +2025-02-17 21:12:59,902 - INFO - [generated in 0.00095s] (1,) +2025-02-17 21:12:59,968 - INFO - ROLLBACK +2025-02-17 21:13:09,422 - INFO - SELECT DATABASE() +2025-02-17 21:13:09,422 - INFO - [raw sql] () +2025-02-17 21:13:09,553 - INFO - SELECT @@sql_mode +2025-02-17 21:13:09,554 - INFO - [raw sql] () +2025-02-17 21:13:09,619 - INFO - SELECT @@lower_case_table_names +2025-02-17 21:13:09,619 - INFO - [raw sql] () +2025-02-17 21:13:09,749 - INFO - BEGIN (implicit) +2025-02-17 21:13:09,750 - INFO - DESCRIBE `ch7a461e0f_link`.`users` +2025-02-17 21:13:09,750 - INFO - [raw sql] () +2025-02-17 21:13:09,816 - INFO - DESCRIBE `ch7a461e0f_link`.`profile` +2025-02-17 21:13:09,816 - INFO - [raw sql] () +2025-02-17 21:13:09,882 - INFO - DESCRIBE `ch7a461e0f_link`.`jobs` +2025-02-17 21:13:09,882 - INFO - [raw sql] () +2025-02-17 21:13:09,949 - INFO - DESCRIBE `ch7a461e0f_link`.`client` +2025-02-17 21:13:09,951 - INFO - [raw sql] () +2025-02-17 21:13:10,019 - INFO - DESCRIBE `ch7a461e0f_link`.`applied_jobs` +2025-02-17 21:13:10,019 - INFO - [raw sql] () +2025-02-17 21:13:10,085 - INFO - COMMIT +2025-02-17 21:13:10,215 - INFO - BEGIN (implicit) +2025-02-17 21:13:10,237 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users + LIMIT %s +2025-02-17 21:13:10,237 - INFO - [generated in 0.00058s] (1,) +2025-02-17 21:13:10,303 - INFO - ROLLBACK +2025-02-17 21:13:10,435 - INFO - BEGIN (implicit) +2025-02-17 21:13:10,436 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:13:10,436 - INFO - [generated in 0.00023s] ('admin',) +2025-02-17 21:13:10,510 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:13:10,510 - INFO - [generated in 0.00043s] () +2025-02-17 21:13:10,579 - INFO - ROLLBACK +2025-02-17 21:13:23,880 - INFO - SELECT DATABASE() +2025-02-17 21:13:23,881 - INFO - [raw sql] () +2025-02-17 21:13:24,015 - INFO - SELECT @@sql_mode +2025-02-17 21:13:24,016 - INFO - [raw sql] () +2025-02-17 21:13:24,081 - INFO - SELECT @@lower_case_table_names +2025-02-17 21:13:24,081 - INFO - [raw sql] () +2025-02-17 21:13:24,213 - INFO - BEGIN (implicit) +2025-02-17 21:13:24,214 - INFO - DESCRIBE `ch7a461e0f_link`.`users` +2025-02-17 21:13:24,214 - INFO - [raw sql] () +2025-02-17 21:13:24,282 - INFO - DESCRIBE `ch7a461e0f_link`.`profile` +2025-02-17 21:13:24,282 - INFO - [raw sql] () +2025-02-17 21:13:24,349 - INFO - DESCRIBE `ch7a461e0f_link`.`jobs` +2025-02-17 21:13:24,349 - INFO - [raw sql] () +2025-02-17 21:13:24,415 - INFO - DESCRIBE `ch7a461e0f_link`.`client` +2025-02-17 21:13:24,416 - INFO - [raw sql] () +2025-02-17 21:13:24,482 - INFO - DESCRIBE `ch7a461e0f_link`.`applied_jobs` +2025-02-17 21:13:24,483 - INFO - [raw sql] () +2025-02-17 21:13:24,550 - INFO - COMMIT +2025-02-17 21:13:24,681 - INFO - BEGIN (implicit) +2025-02-17 21:13:24,691 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users + LIMIT %s +2025-02-17 21:13:24,691 - INFO - [generated in 0.00039s] (1,) +2025-02-17 21:13:24,757 - INFO - ROLLBACK +2025-02-17 21:13:24,889 - INFO - BEGIN (implicit) +2025-02-17 21:13:24,890 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:13:24,890 - INFO - [generated in 0.00025s] ('admin',) +2025-02-17 21:13:24,962 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:13:24,963 - INFO - [generated in 0.00036s] () +2025-02-17 21:13:25,034 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:13:25,035 - INFO - [generated in 0.00039s] () +2025-02-17 21:13:25,100 - INFO - ROLLBACK +2025-02-17 21:13:45,025 - INFO - SELECT DATABASE() +2025-02-17 21:13:45,025 - INFO - [raw sql] () +2025-02-17 21:13:45,157 - INFO - SELECT @@sql_mode +2025-02-17 21:13:45,157 - INFO - [raw sql] () +2025-02-17 21:13:45,222 - INFO - SELECT @@lower_case_table_names +2025-02-17 21:13:45,223 - INFO - [raw sql] () +2025-02-17 21:13:45,352 - INFO - BEGIN (implicit) +2025-02-17 21:13:45,353 - INFO - DESCRIBE `ch7a461e0f_link`.`users` +2025-02-17 21:13:45,353 - INFO - [raw sql] () +2025-02-17 21:13:45,419 - INFO - DESCRIBE `ch7a461e0f_link`.`profile` +2025-02-17 21:13:45,419 - INFO - [raw sql] () +2025-02-17 21:13:45,486 - INFO - DESCRIBE `ch7a461e0f_link`.`jobs` +2025-02-17 21:13:45,486 - INFO - [raw sql] () +2025-02-17 21:13:45,552 - INFO - DESCRIBE `ch7a461e0f_link`.`client` +2025-02-17 21:13:45,553 - INFO - [raw sql] () +2025-02-17 21:13:45,618 - INFO - DESCRIBE `ch7a461e0f_link`.`applied_jobs` +2025-02-17 21:13:45,619 - INFO - [raw sql] () +2025-02-17 21:13:45,685 - INFO - COMMIT +2025-02-17 21:13:45,817 - INFO - BEGIN (implicit) +2025-02-17 21:13:45,851 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users + LIMIT %s +2025-02-17 21:13:45,851 - INFO - [generated in 0.00069s] (1,) +2025-02-17 21:13:45,917 - INFO - ROLLBACK +2025-02-17 21:13:46,050 - INFO - BEGIN (implicit) +2025-02-17 21:13:46,052 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:13:46,053 - INFO - [generated in 0.00062s] ('admin',) +2025-02-17 21:13:46,132 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:13:46,132 - INFO - [generated in 0.00113s] () +2025-02-17 21:13:46,205 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:13:46,205 - INFO - [generated in 0.00083s] () +2025-02-17 21:13:46,283 - INFO - ROLLBACK +2025-02-17 21:16:45,141 - INFO - BEGIN (implicit) +2025-02-17 21:16:45,142 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:16:45,142 - INFO - [cached since 179.1s ago] ('admin',) +2025-02-17 21:16:45,212 - WARNING - (trapped) error reading bcrypt version +Traceback (most recent call last): + File "/home/blues/Nextcloud/2025/admins/.venv/lib/python3.12/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin + version = _bcrypt.__about__.__version__ + ^^^^^^^^^^^^^^^^^ +AttributeError: module 'bcrypt' has no attribute '__about__' +2025-02-17 21:16:45,550 - INFO - ROLLBACK +2025-02-17 21:16:45,686 - INFO - BEGIN (implicit) +2025-02-17 21:16:45,687 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:16:45,687 - INFO - [cached since 179.6s ago] ('admin',) +2025-02-17 21:16:45,757 - INFO - ROLLBACK +2025-02-17 21:16:47,640 - INFO - BEGIN (implicit) +2025-02-17 21:16:47,641 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:16:47,641 - INFO - [cached since 181.6s ago] ('admin',) +2025-02-17 21:16:47,710 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:16:47,710 - INFO - [cached since 181.6s ago] () +2025-02-17 21:16:47,777 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:16:47,777 - INFO - [cached since 181.6s ago] () +2025-02-17 21:16:47,847 - INFO - ROLLBACK +2025-02-17 21:17:03,929 - INFO - BEGIN (implicit) +2025-02-17 21:17:03,929 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:17:03,929 - INFO - [cached since 197.9s ago] ('admin',) +2025-02-17 21:17:03,999 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:17:04,000 - INFO - [cached since 197.9s ago] () +2025-02-17 21:17:04,067 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:17:04,067 - INFO - [cached since 197.9s ago] () +2025-02-17 21:17:04,136 - INFO - ROLLBACK +2025-02-17 21:18:54,229 - INFO - BEGIN (implicit) +2025-02-17 21:18:54,230 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:18:54,230 - INFO - [cached since 308.2s ago] ('admin',) +2025-02-17 21:18:54,299 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:18:54,300 - INFO - [cached since 308.2s ago] () +2025-02-17 21:18:54,368 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:18:54,368 - INFO - [cached since 308.2s ago] () +2025-02-17 21:18:54,438 - INFO - ROLLBACK +2025-02-17 21:18:56,428 - INFO - BEGIN (implicit) +2025-02-17 21:18:56,429 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:18:56,429 - INFO - [cached since 310.4s ago] ('admin',) +2025-02-17 21:18:56,496 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:18:56,496 - INFO - [cached since 310.4s ago] () +2025-02-17 21:18:56,563 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:18:56,564 - INFO - [cached since 310.4s ago] () +2025-02-17 21:18:56,630 - INFO - ROLLBACK +2025-02-17 21:19:24,080 - INFO - BEGIN (implicit) +2025-02-17 21:19:24,080 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:19:24,081 - INFO - [cached since 338s ago] ('admin',) +2025-02-17 21:19:24,146 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:19:24,146 - INFO - [cached since 338s ago] () +2025-02-17 21:19:24,213 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:19:24,213 - INFO - [cached since 338s ago] () +2025-02-17 21:19:24,282 - INFO - ROLLBACK +2025-02-17 21:25:06,385 - INFO - BEGIN (implicit) +2025-02-17 21:25:06,385 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:25:06,385 - INFO - [cached since 680.3s ago] ('admin',) +2025-02-17 21:25:06,452 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:25:06,452 - INFO - [cached since 680.3s ago] () +2025-02-17 21:25:06,519 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:25:06,519 - INFO - [cached since 680.3s ago] () +2025-02-17 21:25:06,594 - INFO - ROLLBACK +2025-02-17 21:25:25,764 - INFO - BEGIN (implicit) +2025-02-17 21:25:25,764 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:25:25,765 - INFO - [cached since 699.7s ago] ('admin',) +2025-02-17 21:25:25,830 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:25:25,831 - INFO - [cached since 699.7s ago] () +2025-02-17 21:25:25,899 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:25:25,899 - INFO - [cached since 699.7s ago] () +2025-02-17 21:25:25,975 - INFO - ROLLBACK +2025-02-17 21:25:33,293 - INFO - BEGIN (implicit) +2025-02-17 21:25:33,293 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:25:33,293 - INFO - [cached since 707.2s ago] ('admin',) +2025-02-17 21:25:33,359 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:25:33,360 - INFO - [cached since 707.2s ago] () +2025-02-17 21:25:33,426 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:25:33,426 - INFO - [cached since 707.2s ago] () +2025-02-17 21:25:33,492 - INFO - ROLLBACK +2025-02-17 21:26:26,991 - INFO - BEGIN (implicit) +2025-02-17 21:26:26,991 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:26:26,991 - INFO - [cached since 760.9s ago] ('admin',) +2025-02-17 21:26:27,057 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:26:27,057 - INFO - [cached since 760.9s ago] () +2025-02-17 21:26:27,125 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:26:27,125 - INFO - [cached since 760.9s ago] () +2025-02-17 21:26:27,195 - INFO - ROLLBACK +2025-02-17 21:27:57,564 - INFO - BEGIN (implicit) +2025-02-17 21:27:57,565 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:27:57,565 - INFO - [cached since 851.5s ago] ('admin',) +2025-02-17 21:27:57,631 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:27:57,631 - INFO - [cached since 851.5s ago] () +2025-02-17 21:27:57,702 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:27:57,703 - INFO - [cached since 851.5s ago] () +2025-02-17 21:27:57,773 - INFO - ROLLBACK +2025-02-17 21:28:25,323 - INFO - BEGIN (implicit) +2025-02-17 21:28:25,323 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:28:25,323 - INFO - [cached since 879.3s ago] ('admin',) +2025-02-17 21:28:25,390 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:28:25,391 - INFO - [cached since 879.3s ago] () +2025-02-17 21:28:25,458 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:28:25,458 - INFO - [cached since 879.3s ago] () +2025-02-17 21:28:25,527 - INFO - ROLLBACK +2025-02-17 21:28:54,670 - INFO - BEGIN (implicit) +2025-02-17 21:28:54,671 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:28:54,671 - INFO - [cached since 908.6s ago] ('admin',) +2025-02-17 21:28:54,737 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:28:54,737 - INFO - [cached since 908.6s ago] () +2025-02-17 21:28:54,804 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:28:54,804 - INFO - [cached since 908.6s ago] () +2025-02-17 21:28:54,883 - INFO - ROLLBACK +2025-02-17 21:29:57,048 - INFO - BEGIN (implicit) +2025-02-17 21:29:57,048 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:29:57,048 - INFO - [cached since 971s ago] ('admin',) +2025-02-17 21:29:57,114 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:29:57,114 - INFO - [cached since 971s ago] () +2025-02-17 21:29:57,181 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:29:57,181 - INFO - [cached since 971s ago] () +2025-02-17 21:29:57,252 - INFO - ROLLBACK +2025-02-17 21:40:01,384 - INFO - SELECT DATABASE() +2025-02-17 21:40:01,384 - INFO - [raw sql] () +2025-02-17 21:40:01,517 - INFO - SELECT @@sql_mode +2025-02-17 21:40:01,517 - INFO - [raw sql] () +2025-02-17 21:40:01,587 - INFO - SELECT @@lower_case_table_names +2025-02-17 21:40:01,588 - INFO - [raw sql] () +2025-02-17 21:40:01,730 - INFO - BEGIN (implicit) +2025-02-17 21:40:01,731 - INFO - DESCRIBE `ch7a461e0f_link`.`users` +2025-02-17 21:40:01,731 - INFO - [raw sql] () +2025-02-17 21:40:01,799 - INFO - DESCRIBE `ch7a461e0f_link`.`profile` +2025-02-17 21:40:01,799 - INFO - [raw sql] () +2025-02-17 21:40:01,872 - INFO - DESCRIBE `ch7a461e0f_link`.`jobs` +2025-02-17 21:40:01,873 - INFO - [raw sql] () +2025-02-17 21:40:01,942 - INFO - DESCRIBE `ch7a461e0f_link`.`client` +2025-02-17 21:40:01,943 - INFO - [raw sql] () +2025-02-17 21:40:02,009 - INFO - DESCRIBE `ch7a461e0f_link`.`applied_jobs` +2025-02-17 21:40:02,010 - INFO - [raw sql] () +2025-02-17 21:40:02,077 - INFO - COMMIT +2025-02-17 21:40:02,208 - INFO - BEGIN (implicit) +2025-02-17 21:40:02,222 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users + LIMIT %s +2025-02-17 21:40:02,223 - INFO - [generated in 0.00040s] (1,) +2025-02-17 21:40:02,288 - INFO - ROLLBACK +2025-02-17 21:40:06,090 - INFO - BEGIN (implicit) +2025-02-17 21:40:06,091 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:40:06,091 - INFO - [generated in 0.00024s] ('admin',) +2025-02-17 21:40:06,162 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:40:06,162 - INFO - [generated in 0.00034s] () +2025-02-17 21:40:06,229 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:40:06,230 - INFO - [generated in 0.00026s] () +2025-02-17 21:40:06,326 - INFO - ROLLBACK +2025-02-17 21:41:51,887 - INFO - SELECT DATABASE() +2025-02-17 21:41:51,888 - INFO - [raw sql] () +2025-02-17 21:41:52,020 - INFO - SELECT @@sql_mode +2025-02-17 21:41:52,020 - INFO - [raw sql] () +2025-02-17 21:41:52,085 - INFO - SELECT @@lower_case_table_names +2025-02-17 21:41:52,085 - INFO - [raw sql] () +2025-02-17 21:41:52,219 - INFO - BEGIN (implicit) +2025-02-17 21:41:52,220 - INFO - DESCRIBE `ch7a461e0f_link`.`users` +2025-02-17 21:41:52,220 - INFO - [raw sql] () +2025-02-17 21:41:52,287 - INFO - DESCRIBE `ch7a461e0f_link`.`profile` +2025-02-17 21:41:52,287 - INFO - [raw sql] () +2025-02-17 21:41:52,355 - INFO - DESCRIBE `ch7a461e0f_link`.`jobs` +2025-02-17 21:41:52,356 - INFO - [raw sql] () +2025-02-17 21:41:52,421 - INFO - DESCRIBE `ch7a461e0f_link`.`client` +2025-02-17 21:41:52,422 - INFO - [raw sql] () +2025-02-17 21:41:52,487 - INFO - DESCRIBE `ch7a461e0f_link`.`applied_jobs` +2025-02-17 21:41:52,487 - INFO - [raw sql] () +2025-02-17 21:41:52,560 - INFO - COMMIT +2025-02-17 21:41:52,690 - INFO - BEGIN (implicit) +2025-02-17 21:41:52,706 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users + LIMIT %s +2025-02-17 21:41:52,706 - INFO - [generated in 0.00036s] (1,) +2025-02-17 21:41:52,773 - INFO - ROLLBACK +2025-02-17 21:41:52,906 - INFO - BEGIN (implicit) +2025-02-17 21:41:52,910 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:41:52,911 - INFO - [generated in 0.00087s] ('admin',) +2025-02-17 21:41:52,999 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:41:53,000 - INFO - [generated in 0.00099s] () +2025-02-17 21:41:53,070 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:41:53,070 - INFO - [generated in 0.00030s] () +2025-02-17 21:41:53,149 - INFO - ROLLBACK +2025-02-17 21:41:56,083 - INFO - BEGIN (implicit) +2025-02-17 21:41:56,085 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority +FROM applied_jobs +WHERE applied_jobs.id = %s +2025-02-17 21:41:56,085 - INFO - [generated in 0.00036s] (1,) +2025-02-17 21:41:56,152 - INFO - UPDATE applied_jobs SET status=%s WHERE applied_jobs.id = %s +2025-02-17 21:41:56,152 - INFO - [generated in 0.00027s] ('In-Progress', 1) +2025-02-17 21:41:56,218 - INFO - COMMIT +2025-02-17 21:41:59,614 - INFO - BEGIN (implicit) +2025-02-17 21:41:59,615 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:41:59,615 - INFO - [cached since 6.705s ago] ('admin',) +2025-02-17 21:41:59,682 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:41:59,683 - INFO - [cached since 6.684s ago] () +2025-02-17 21:41:59,749 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:41:59,749 - INFO - [cached since 6.68s ago] () +2025-02-17 21:41:59,815 - INFO - ROLLBACK +2025-02-17 21:42:02,702 - INFO - BEGIN (implicit) +2025-02-17 21:42:02,703 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority +FROM applied_jobs +WHERE applied_jobs.id = %s +2025-02-17 21:42:02,703 - INFO - [cached since 6.618s ago] (1,) +2025-02-17 21:42:02,772 - INFO - UPDATE applied_jobs SET status=%s WHERE applied_jobs.id = %s +2025-02-17 21:42:02,772 - INFO - [cached since 6.62s ago] ('Issues Applying', 1) +2025-02-17 21:42:02,837 - INFO - COMMIT +2025-02-17 21:42:06,714 - INFO - BEGIN (implicit) +2025-02-17 21:42:06,715 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority +FROM applied_jobs +WHERE applied_jobs.id = %s +2025-02-17 21:42:06,715 - INFO - [cached since 10.63s ago] (1,) +2025-02-17 21:42:06,785 - INFO - UPDATE applied_jobs SET status=%s WHERE applied_jobs.id = %s +2025-02-17 21:42:06,785 - INFO - [cached since 10.63s ago] ('Scheduled', 1) +2025-02-17 21:42:06,850 - INFO - COMMIT +2025-02-17 21:42:19,866 - INFO - BEGIN (implicit) +2025-02-17 21:42:19,866 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority +FROM applied_jobs +WHERE applied_jobs.id = %s +2025-02-17 21:42:19,866 - INFO - [cached since 23.78s ago] (1,) +2025-02-17 21:42:19,934 - INFO - UPDATE applied_jobs SET status=%s WHERE applied_jobs.id = %s +2025-02-17 21:42:19,934 - INFO - [cached since 23.78s ago] ('Requested', 1) +2025-02-17 21:42:20,000 - INFO - COMMIT +2025-02-17 21:42:22,792 - INFO - BEGIN (implicit) +2025-02-17 21:42:22,793 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:42:22,793 - INFO - [cached since 29.88s ago] ('admin',) +2025-02-17 21:42:22,859 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:42:22,860 - INFO - [cached since 29.86s ago] () +2025-02-17 21:42:22,927 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:42:22,927 - INFO - [cached since 29.86s ago] () +2025-02-17 21:42:22,994 - INFO - ROLLBACK +2025-02-17 21:45:35,872 - INFO - SELECT DATABASE() +2025-02-17 21:45:35,873 - INFO - [raw sql] () +2025-02-17 21:45:36,005 - INFO - SELECT @@sql_mode +2025-02-17 21:45:36,005 - INFO - [raw sql] () +2025-02-17 21:45:36,071 - INFO - SELECT @@lower_case_table_names +2025-02-17 21:45:36,071 - INFO - [raw sql] () +2025-02-17 21:45:36,202 - INFO - BEGIN (implicit) +2025-02-17 21:45:36,202 - INFO - DESCRIBE `ch7a461e0f_link`.`users` +2025-02-17 21:45:36,203 - INFO - [raw sql] () +2025-02-17 21:45:36,271 - INFO - DESCRIBE `ch7a461e0f_link`.`profile` +2025-02-17 21:45:36,271 - INFO - [raw sql] () +2025-02-17 21:45:36,337 - INFO - DESCRIBE `ch7a461e0f_link`.`jobs` +2025-02-17 21:45:36,337 - INFO - [raw sql] () +2025-02-17 21:45:36,404 - INFO - DESCRIBE `ch7a461e0f_link`.`client` +2025-02-17 21:45:36,404 - INFO - [raw sql] () +2025-02-17 21:45:36,471 - INFO - DESCRIBE `ch7a461e0f_link`.`applied_jobs` +2025-02-17 21:45:36,471 - INFO - [raw sql] () +2025-02-17 21:45:36,536 - INFO - COMMIT +2025-02-17 21:45:36,669 - INFO - BEGIN (implicit) +2025-02-17 21:45:36,687 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users + LIMIT %s +2025-02-17 21:45:36,688 - INFO - [generated in 0.00037s] (1,) +2025-02-17 21:45:36,755 - INFO - ROLLBACK +2025-02-17 21:45:43,390 - INFO - SELECT DATABASE() +2025-02-17 21:45:43,391 - INFO - [raw sql] () +2025-02-17 21:45:43,524 - INFO - SELECT @@sql_mode +2025-02-17 21:45:43,525 - INFO - [raw sql] () +2025-02-17 21:45:43,590 - INFO - SELECT @@lower_case_table_names +2025-02-17 21:45:43,591 - INFO - [raw sql] () +2025-02-17 21:45:43,722 - INFO - BEGIN (implicit) +2025-02-17 21:45:43,723 - INFO - DESCRIBE `ch7a461e0f_link`.`users` +2025-02-17 21:45:43,723 - INFO - [raw sql] () +2025-02-17 21:45:43,789 - INFO - DESCRIBE `ch7a461e0f_link`.`profile` +2025-02-17 21:45:43,790 - INFO - [raw sql] () +2025-02-17 21:45:43,858 - INFO - DESCRIBE `ch7a461e0f_link`.`jobs` +2025-02-17 21:45:43,858 - INFO - [raw sql] () +2025-02-17 21:45:43,924 - INFO - DESCRIBE `ch7a461e0f_link`.`client` +2025-02-17 21:45:43,925 - INFO - [raw sql] () +2025-02-17 21:45:43,990 - INFO - DESCRIBE `ch7a461e0f_link`.`applied_jobs` +2025-02-17 21:45:43,990 - INFO - [raw sql] () +2025-02-17 21:45:44,057 - INFO - COMMIT +2025-02-17 21:45:44,190 - INFO - BEGIN (implicit) +2025-02-17 21:45:44,227 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users + LIMIT %s +2025-02-17 21:45:44,228 - INFO - [generated in 0.00034s] (1,) +2025-02-17 21:45:44,295 - INFO - ROLLBACK +2025-02-17 21:45:45,936 - INFO - BEGIN (implicit) +2025-02-17 21:45:45,938 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:45:45,939 - INFO - [generated in 0.00040s] ('admin',) +2025-02-17 21:45:46,009 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:45:46,009 - INFO - [generated in 0.00031s] () +2025-02-17 21:45:46,076 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:45:46,076 - INFO - [generated in 0.00028s] () +2025-02-17 21:45:46,153 - INFO - ROLLBACK +2025-02-17 21:45:51,153 - INFO - BEGIN (implicit) +2025-02-17 21:45:51,156 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority +FROM applied_jobs +WHERE applied_jobs.id = %s +2025-02-17 21:45:51,157 - INFO - [generated in 0.00125s] (1,) +2025-02-17 21:45:51,224 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.id = %s +2025-02-17 21:45:51,225 - INFO - [generated in 0.00027s] (8,) +2025-02-17 21:45:51,290 - INFO - ROLLBACK +2025-02-17 21:46:12,122 - INFO - SELECT DATABASE() +2025-02-17 21:46:12,123 - INFO - [raw sql] () +2025-02-17 21:46:12,253 - INFO - SELECT @@sql_mode +2025-02-17 21:46:12,254 - INFO - [raw sql] () +2025-02-17 21:46:12,320 - INFO - SELECT @@lower_case_table_names +2025-02-17 21:46:12,320 - INFO - [raw sql] () +2025-02-17 21:46:12,451 - INFO - BEGIN (implicit) +2025-02-17 21:46:12,452 - INFO - DESCRIBE `ch7a461e0f_link`.`users` +2025-02-17 21:46:12,452 - INFO - [raw sql] () +2025-02-17 21:46:12,518 - INFO - DESCRIBE `ch7a461e0f_link`.`profile` +2025-02-17 21:46:12,519 - INFO - [raw sql] () +2025-02-17 21:46:12,586 - INFO - DESCRIBE `ch7a461e0f_link`.`jobs` +2025-02-17 21:46:12,586 - INFO - [raw sql] () +2025-02-17 21:46:12,655 - INFO - DESCRIBE `ch7a461e0f_link`.`client` +2025-02-17 21:46:12,655 - INFO - [raw sql] () +2025-02-17 21:46:12,721 - INFO - DESCRIBE `ch7a461e0f_link`.`applied_jobs` +2025-02-17 21:46:12,722 - INFO - [raw sql] () +2025-02-17 21:46:12,809 - INFO - COMMIT +2025-02-17 21:46:12,944 - INFO - BEGIN (implicit) +2025-02-17 21:46:12,988 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users + LIMIT %s +2025-02-17 21:46:12,988 - INFO - [generated in 0.00035s] (1,) +2025-02-17 21:46:13,054 - INFO - ROLLBACK +2025-02-17 21:46:13,189 - INFO - BEGIN (implicit) +2025-02-17 21:46:13,193 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:46:13,194 - INFO - [generated in 0.00097s] ('admin',) +2025-02-17 21:46:13,280 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:46:13,281 - INFO - [generated in 0.00084s] () +2025-02-17 21:46:13,350 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:46:13,350 - INFO - [generated in 0.00032s] () +2025-02-17 21:46:13,428 - INFO - ROLLBACK +2025-02-17 21:46:16,007 - INFO - BEGIN (implicit) +2025-02-17 21:46:16,009 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority +FROM applied_jobs +WHERE applied_jobs.id = %s +2025-02-17 21:46:16,009 - INFO - [generated in 0.00040s] (1,) +2025-02-17 21:46:16,076 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.id = %s +2025-02-17 21:46:16,076 - INFO - [generated in 0.00041s] (7,) +2025-02-17 21:46:16,143 - INFO - COMMIT +2025-02-17 21:46:36,243 - INFO - BEGIN (implicit) +2025-02-17 21:46:36,243 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:46:36,244 - INFO - [cached since 23.05s ago] ('admin',) +2025-02-17 21:46:36,311 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:46:36,312 - INFO - [cached since 23.03s ago] () +2025-02-17 21:46:36,380 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:46:36,380 - INFO - [cached since 23.03s ago] () +2025-02-17 21:46:36,446 - INFO - ROLLBACK +2025-02-17 21:46:39,519 - INFO - BEGIN (implicit) +2025-02-17 21:46:39,520 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority +FROM applied_jobs +WHERE applied_jobs.id = %s +2025-02-17 21:46:39,521 - INFO - [cached since 23.51s ago] (1,) +2025-02-17 21:46:39,591 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.id = %s +2025-02-17 21:46:39,591 - INFO - [cached since 23.52s ago] (7,) +2025-02-17 21:46:39,658 - INFO - COMMIT +2025-02-17 21:47:12,961 - INFO - BEGIN (implicit) +2025-02-17 21:47:12,961 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority +FROM applied_jobs +WHERE applied_jobs.id = %s +2025-02-17 21:47:12,962 - INFO - [cached since 56.95s ago] (1,) +2025-02-17 21:47:13,029 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.id = %s +2025-02-17 21:47:13,030 - INFO - [cached since 56.95s ago] (6,) +2025-02-17 21:47:13,096 - INFO - COMMIT +2025-02-17 21:50:14,045 - INFO - SELECT DATABASE() +2025-02-17 21:50:14,045 - INFO - [raw sql] () +2025-02-17 21:50:14,176 - INFO - SELECT @@sql_mode +2025-02-17 21:50:14,176 - INFO - [raw sql] () +2025-02-17 21:50:14,241 - INFO - SELECT @@lower_case_table_names +2025-02-17 21:50:14,241 - INFO - [raw sql] () +2025-02-17 21:50:14,372 - INFO - BEGIN (implicit) +2025-02-17 21:50:14,372 - INFO - DESCRIBE `ch7a461e0f_link`.`users` +2025-02-17 21:50:14,372 - INFO - [raw sql] () +2025-02-17 21:50:14,437 - INFO - DESCRIBE `ch7a461e0f_link`.`profile` +2025-02-17 21:50:14,438 - INFO - [raw sql] () +2025-02-17 21:50:14,503 - INFO - DESCRIBE `ch7a461e0f_link`.`jobs` +2025-02-17 21:50:14,503 - INFO - [raw sql] () +2025-02-17 21:50:14,569 - INFO - DESCRIBE `ch7a461e0f_link`.`client` +2025-02-17 21:50:14,570 - INFO - [raw sql] () +2025-02-17 21:50:14,636 - INFO - DESCRIBE `ch7a461e0f_link`.`applied_jobs` +2025-02-17 21:50:14,636 - INFO - [raw sql] () +2025-02-17 21:50:14,702 - INFO - COMMIT +2025-02-17 21:50:14,832 - INFO - BEGIN (implicit) +2025-02-17 21:50:14,843 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users + LIMIT %s +2025-02-17 21:50:14,843 - INFO - [generated in 0.00036s] (1,) +2025-02-17 21:50:14,909 - INFO - ROLLBACK +2025-02-17 21:50:19,749 - INFO - BEGIN (implicit) +2025-02-17 21:50:19,755 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:50:19,755 - INFO - [generated in 0.00151s] ('admin',) +2025-02-17 21:50:19,823 - WARNING - (trapped) error reading bcrypt version +Traceback (most recent call last): + File "/home/blues/Nextcloud/2025/admins/.venv/lib/python3.12/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin + version = _bcrypt.__about__.__version__ + ^^^^^^^^^^^^^^^^^ +AttributeError: module 'bcrypt' has no attribute '__about__' +2025-02-17 21:50:20,117 - INFO - ROLLBACK +2025-02-17 21:50:20,253 - INFO - BEGIN (implicit) +2025-02-17 21:50:20,253 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:50:20,253 - INFO - [cached since 0.4996s ago] ('admin',) +2025-02-17 21:50:20,328 - INFO - ROLLBACK +2025-02-17 21:50:22,947 - INFO - BEGIN (implicit) +2025-02-17 21:50:22,948 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:50:22,948 - INFO - [cached since 3.194s ago] ('admin',) +2025-02-17 21:50:23,020 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:50:23,020 - INFO - [generated in 0.00033s] () +2025-02-17 21:50:23,092 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:50:23,093 - INFO - [generated in 0.00070s] () +2025-02-17 21:50:23,190 - INFO - ROLLBACK +2025-02-17 21:50:25,728 - INFO - BEGIN (implicit) +2025-02-17 21:50:25,729 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority +FROM applied_jobs +WHERE applied_jobs.id = %s +2025-02-17 21:50:25,729 - INFO - [generated in 0.00048s] (1,) +2025-02-17 21:50:25,797 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.id = %s +2025-02-17 21:50:25,797 - INFO - [generated in 0.00036s] (7,) +2025-02-17 21:50:25,864 - INFO - UPDATE applied_jobs SET assignee=%s WHERE applied_jobs.id = %s +2025-02-17 21:50:25,865 - INFO - [generated in 0.00036s] (7, 1) +2025-02-17 21:50:25,933 - INFO - COMMIT +2025-02-17 21:50:28,732 - INFO - BEGIN (implicit) +2025-02-17 21:50:28,734 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:50:28,734 - INFO - [cached since 8.98s ago] ('admin',) +2025-02-17 21:50:28,801 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:50:28,801 - INFO - [cached since 5.781s ago] () +2025-02-17 21:50:28,875 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:50:28,875 - INFO - [cached since 5.783s ago] () +2025-02-17 21:50:28,942 - INFO - ROLLBACK +2025-02-17 21:50:43,722 - INFO - BEGIN (implicit) +2025-02-17 21:50:43,722 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:50:43,722 - INFO - [cached since 23.97s ago] ('admin',) +2025-02-17 21:50:43,788 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:50:43,788 - INFO - [cached since 20.77s ago] () +2025-02-17 21:50:43,859 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:50:43,860 - INFO - [cached since 20.77s ago] () +2025-02-17 21:50:43,927 - INFO - ROLLBACK +2025-02-17 21:52:11,570 - INFO - BEGIN (implicit) +2025-02-17 21:52:11,571 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:52:11,571 - INFO - [cached since 111.8s ago] ('admin',) +2025-02-17 21:52:11,638 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:52:11,638 - INFO - [cached since 108.6s ago] () +2025-02-17 21:52:11,706 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:52:11,706 - INFO - [cached since 108.6s ago] () +2025-02-17 21:52:11,798 - INFO - ROLLBACK +2025-02-17 21:52:14,366 - INFO - BEGIN (implicit) +2025-02-17 21:52:14,367 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority +FROM applied_jobs +WHERE applied_jobs.id = %s +2025-02-17 21:52:14,367 - INFO - [cached since 108.6s ago] (1,) +2025-02-17 21:52:14,433 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.id = %s +2025-02-17 21:52:14,434 - INFO - [cached since 108.6s ago] (6,) +2025-02-17 21:52:14,501 - INFO - UPDATE applied_jobs SET assignee=%s WHERE applied_jobs.id = %s +2025-02-17 21:52:14,502 - INFO - [cached since 108.6s ago] (6, 1) +2025-02-17 21:52:14,567 - INFO - COMMIT +2025-02-17 21:52:17,210 - INFO - BEGIN (implicit) +2025-02-17 21:52:17,210 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:52:17,210 - INFO - [cached since 117.5s ago] ('admin',) +2025-02-17 21:52:17,276 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:52:17,276 - INFO - [cached since 114.3s ago] () +2025-02-17 21:52:17,345 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:52:17,346 - INFO - [cached since 114.3s ago] () +2025-02-17 21:52:17,414 - INFO - ROLLBACK +2025-02-17 21:52:23,353 - INFO - BEGIN (implicit) +2025-02-17 21:52:23,353 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +WHERE users.username = %s +2025-02-17 21:52:23,353 - INFO - [cached since 123.6s ago] ('admin',) +2025-02-17 21:52:23,420 - INFO - SELECT applied_jobs.id, applied_jobs.client_id, applied_jobs.job_id, applied_jobs.applied_on, applied_jobs.status, applied_jobs.assignee, applied_jobs.priority, client_1.id AS id_1, client_1.username, client_1.phone, client_1.email, client_1.link, client_1.is_active, jobs_1.job_id AS job_id_1, jobs_1.job_title, jobs_1.job_company, jobs_1.minimum_annual_salary, jobs_1.salary_currency, jobs_1.location_type, jobs_1.location, jobs_1.job_level, jobs_1.job_type, jobs_1.days_posted, jobs_1.hourly_rate, jobs_1.link AS link_1, jobs_1.link_company, jobs_1.active, users_1.id AS id_2, users_1.username AS username_1, users_1.hashed_password, users_1.`role`, users_1.is_active AS is_active_1 +FROM applied_jobs LEFT OUTER JOIN client AS client_1 ON client_1.id = applied_jobs.client_id LEFT OUTER JOIN jobs AS jobs_1 ON jobs_1.job_id = applied_jobs.job_id LEFT OUTER JOIN users AS users_1 ON users_1.id = applied_jobs.assignee +2025-02-17 21:52:23,420 - INFO - [cached since 120.4s ago] () +2025-02-17 21:52:23,489 - INFO - SELECT users.id, users.username, users.hashed_password, users.`role`, users.is_active +FROM users +2025-02-17 21:52:23,489 - INFO - [cached since 120.4s ago] () +2025-02-17 21:52:23,557 - INFO - ROLLBACK diff --git a/routers/product.py b/routers/product.py index 68f9f55..2b9d941 100644 --- a/routers/product.py +++ b/routers/product.py @@ -3,14 +3,14 @@ from fastapi.templating import Jinja2Templates from fastapi.responses import RedirectResponse, HTMLResponse from fastapi.responses import JSONResponse import jwt - +from pydantic import BaseModel from sqlalchemy.future import select from sqlalchemy.orm import joinedload from sqlalchemy.ext.asyncio import AsyncSession from routers.auth import get_current_user -from model.database import get_async_session, Job, Client, AppliedJob +from model.database import get_async_session, Job, Client, AppliedJob, User router = APIRouter() templates = Jinja2Templates(directory="templates") @@ -34,9 +34,8 @@ async def product(request: Request, applied_jobs = result.scalars().all() - # result1 = await session.select(AppliedJob) - - # assignee = result1.scalars().all() + result1 = await session.execute(select(User)) + users = result1.scalars().all() @@ -45,5 +44,51 @@ async def product(request: Request, return templates.TemplateResponse("product.html", {"request": request, "size": size, "jobs": applied_jobs, "role": username["role"], - "username": username['username'],# "assignee": assignee, - "current_path": request.url.path })# \ No newline at end of file + "username": username['username'], "users": users, + "current_path": request.url.path })# + + +# Pydantic модель запроса +class StatusUpdate(BaseModel): + job_id: int + status: str + +@router.post("/update_status/") +async def update_status(data: StatusUpdate, + session: AsyncSession = Depends(get_async_session)): + job = await session.execute(select(AppliedJob).where(AppliedJob.id == data.job_id)) + job = job.scalars().first() + + if not job: + raise HTTPException(status_code=404, detail="Job not found") + + job.status = data.status + await session.commit() + + return {"message": "Статус обновлён", "job_id": job.id, "new_status": job.status} + + + +class AssigneeUpdate(BaseModel): + job_id: int + assignee_id: int + +@router.post("/update_assignee/") +async def update_assignee(data: AssigneeUpdate, + session: AsyncSession = Depends(get_async_session)): + job = await session.execute(select(AppliedJob).where(AppliedJob.id == data.job_id)) + job = job.scalars().first() + + if not job: + raise HTTPException(status_code=404, detail="Job not found") + + user = await session.execute(select(User).where(User.id == data.assignee_id)) + user = user.scalars().first() + + if not user: + raise HTTPException(status_code=404, detail="User not found") + + job.assignee = data.assignee_id # 👈 Убрал _id, чтобы совпадало с моделью + await session.commit() + + return {"message": "Исполнитель обновлён", "job_id": job.id, "new_assignee": job.assignee} diff --git a/templates/product.html b/templates/product.html index ecd62ba..cbbc8ef 100644 --- a/templates/product.html +++ b/templates/product.html @@ -31,7 +31,7 @@ {% for job in jobs %} -
{{ job.job.job_title [:50] }}
+ {{ job.job.job_title [:50] }}
{{ job.job.job_id }}
Company @@ -39,17 +39,26 @@ Requested on Posted on - + + + + + + - Assignee + + + - {% endfor %} @@ -57,4 +66,52 @@ + + + {% endblock %} \ No newline at end of file