Commit Graph

55 Commits

Author SHA1 Message Date
Tina_Azure
5c47528afd Freelancer Password Reset #WIP 2023-04-25 00:50:31 +02:00
Tina_Azure
0eddcefe13 Add ssl certificate crt and key to config 2023-04-24 23:24:54 +02:00
Tina_Azure
49e3faf722 database request to retrieve a freelancers id 2023-04-22 23:20:34 +02:00
Tina_Azure
83a22321ca database request to update the login validation key of a freelancer 2023-04-22 23:19:02 +02:00
Tina_Azure
c422b65e03 database request to check if a freelancer is logged on 2023-04-22 23:17:56 +02:00
Tina_Azure
4eb6923bce generate a random login key to be used for session validation 2023-04-22 23:17:05 +02:00
Tina_Azure
fbef9f0596 function to create a cookie that replaces login cookies 2023-04-22 23:16:31 +02:00
Tina_Azure
c21de31cb1 Functions to generate secure cookies 2023-04-22 23:15:05 +02:00
Tina_Azure
c97f28200d Check if a freelancer is logged in based on cookie data 2023-04-22 23:14:16 +02:00
Tina_Azure
2491eec781 Signup route handler 2023-04-22 23:12:45 +02:00
Tina_Azure
870d50baeb Logout Route Handler 2023-04-22 23:12:24 +02:00
Tina_Azure
f7e03bdc0f Login route handlers 2023-04-22 23:11:56 +02:00
Tina_Azure
28b1375f01 Minor optimization and typofix
and add ctx to be rendered
2023-04-22 23:08:57 +02:00
Tina_Azure
1cd0ee05d2 Move freelancer listing to utilities 2023-04-22 23:06:30 +02:00
Tina_Azure
fd9e02c3a0 Move alias handling to utilities 2023-04-22 23:05:21 +02:00
Tina_Azure
11ecf6452e Minor Optimization/Refactoring 2023-04-22 23:01:44 +02:00
Tina_Azure
d461c6561e base SSL implementation todo::move cert into config 2023-04-22 22:56:01 +02:00
Tina_Azure
68609693c4 Database handler check if a given hash is valid 2023-04-19 02:17:20 +02:00
Tina_Azure
c0b2d150f9 Database handler get the freelancers salt 2023-04-19 02:16:53 +02:00
Tina_Azure
c4a5256489 Database handler check if email exists in freelancer table 2023-04-19 02:16:18 +02:00
Tina_Azure
fcff2f5906 Database handler to create new freelancer 2023-04-19 02:15:26 +02:00
Tina_Azure
bd8d815248 handler login fulfilment 2023-04-19 02:14:35 +02:00
Tina_Azure
3fea9978dd handler signup fulfilment 2023-04-19 02:13:54 +02:00
Tina_Azure
00ab9bed90 Handlers signup 2023-04-19 02:13:07 +02:00
Tina_Azure
9e0eb83eba minor changes 2023-04-19 02:11:59 +02:00
Tina_Azure
ddeea4bc17 Implements salt creation using mt19937 2023-04-19 02:07:01 +02:00
Tina_Azure
a0be80825f Implement hashing using OpenSSL 2023-04-19 02:06:19 +02:00
Tina_Azure
27f338c166 Temporary login page until proper login system is done
Basic cookie implementation
2023-04-17 03:17:17 +02:00
Tina_Azure
ab6a5bc706 Minor bugfix since getline adds an extra char to the string
move hardcoded databaseURI into the config
2023-04-12 23:51:11 +02:00
Tina_Azure
1965b06868 Configuration file readout
specification of the format in the spec
2023-04-12 00:26:47 +02:00
Tina_Azure
854d556c00 Prepared Statments:
Commission State
Freelancer Email
Insert Item in Requests

Item struct:
Dump data as a JSON String

Statment execution function:
redone inserted values based on modified requests item
error handling for insertion
basic functions for the selection of email and commission state
2023-04-10 19:32:37 +02:00
Tina_Azure
63b5805658 Spec marked
Handler for the creation of a new request
2023-04-10 19:28:40 +02:00
Tina_Azure
29fbc801a7 Handler for the fulfilment of a request WIP 2023-04-07 22:35:08 +02:00
Tina_Azure
98fd39b556 /customer/frelancer/template/template/request
todo:check for open commision
2023-04-07 22:33:17 +02:00
Tina_Azure
0272e0b719 Modification of requestsItem
SELECT_TEMPLATE_FLAT to get base template data for request creation
2023-04-07 22:32:01 +02:00
Tina_Azure
88167c4f95 String Operations to deal with POST Body 2023-04-07 22:30:24 +02:00
Tina_Azure
80f377c048 SMTP Client 2023-04-07 22:29:37 +02:00
Tina_Azure
1a1908a814 Redirection template
Handle @alias via the redirection template
2023-04-05 02:24:42 +02:00
Tina_Azure
407d0aeecf +++ /customer/$freelancer/template/$templateName
Route handling the display of a Template
And minor fix enabling the root route to handle post
2023-04-04 22:40:27 +02:00
Tina_Azure
de91af605e Database operation to select a specific template 2023-04-04 22:36:20 +02:00
Tina_Azure
c70053eb53 Rewrite to handle routing of /customer/freelancer using POST 2023-04-04 01:51:27 +02:00
Tina_Azure
ff4f6d6fb6 Create Utilities Manager for storage of non database Based functions 2023-04-04 01:47:54 +02:00
Tina_Azure
17c0123c19 Freelancer Profile page with Templates 2023-04-03 00:11:33 +02:00
Tina_Azure
04e41c2dce Freelancer Profile Listing
-Template, Database access, Handler
-Freelancer Database Table
2023-04-02 23:56:50 +02:00
Tina_Azure
fae75e65fc Amendment of spec: Templates shall utilize only lower-case variable names
Removal of workaround for lowercase column names
Apropriately changed the test.html
2023-03-21 02:05:32 +01:00
Tina_Azure
aea7bebbb5 Rewriting of test routes 2023-03-20 18:07:51 +01:00
Tina_Azure
74a707f938 Database Manager namespace
Implementations:
struct representing an Requests Item with the apropriate JSON parser
a generic sql execution ideally something that is not necessary
prepared statment for the insertion of an item into Requests
prepared statment for the read out of Requests based on the ID
conversion of a pqxx::result into a wvalue JSON which is usable by the crowcpp context
2023-03-20 18:06:51 +01:00
fc70b91b9d completed HTML assembler templates 2023-03-13 03:39:46 -05:00
8d9d3df7eb rewrote to use C++ instead of Java 2023-03-13 02:32:23 -05:00
b9978932d3 an attempt to set up templates (https://vertx.io/docs/vertx-web/java/#_templates) was made 2023-03-11 05:13:04 -06:00