Commit Graph

64 Commits

Author SHA1 Message Date
00ab9bed90 Handlers signup 2023-04-19 02:13:07 +02:00
9e0eb83eba minor changes 2023-04-19 02:11:59 +02:00
ab2229dd8a freelancer login templates 2023-04-19 02:07:47 +02:00
b58789152f Freelancer Signup templates 2023-04-19 02:07:26 +02:00
ddeea4bc17 Implements salt creation using mt19937 2023-04-19 02:07:01 +02:00
a0be80825f Implement hashing using OpenSSL 2023-04-19 02:06:19 +02:00
795048018c Table Freelancers modification to add the salt and hash and to make the email address unique and not null 2023-04-19 02:04:56 +02:00
27f338c166 Temporary login page until proper login system is done
Basic cookie implementation
2023-04-17 03:17:17 +02:00
382a834506 Move Generic Style out of Templates 2023-04-17 03:15:57 +02:00
81e6b7e8d5 Makefile formating
Spec update
2023-04-17 03:14:55 +02:00
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
8b34815bef Check to make Template request not availible if commissions closed 2023-04-12 00:27:24 +02:00
1965b06868 Configuration file readout
specification of the format in the spec
2023-04-12 00:26:47 +02:00
bfa49c2281 Template displayed at a successfull request creation 2023-04-10 19:33:31 +02:00
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
63b5805658 Spec marked
Handler for the creation of a new request
2023-04-10 19:28:40 +02:00
1f5372461c Template displaying errors at request creation 2023-04-10 19:26:35 +02:00
29fbc801a7 Handler for the fulfilment of a request WIP 2023-04-07 22:35:08 +02:00
98fd39b556 /customer/frelancer/template/template/request
todo:check for open commision
2023-04-07 22:33:17 +02:00
0272e0b719 Modification of requestsItem
SELECT_TEMPLATE_FLAT to get base template data for request creation
2023-04-07 22:32:01 +02:00
88167c4f95 String Operations to deal with POST Body 2023-04-07 22:30:24 +02:00
80f377c048 SMTP Client 2023-04-07 22:29:37 +02:00
caca7139cb Template for customer request @MichaelYick give it a look over if this setup is proper
Table modification for aditional details in spec
2023-04-06 01:26:45 +02:00
a4ec9199ae Minor spec modification relating to the page at which request data entry begins 2023-04-05 09:18:14 +02:00
1a1908a814 Redirection template
Handle @alias via the redirection template
2023-04-05 02:24:42 +02:00
2738fdaf5c Create alias table and add it to the spec 2023-04-05 02:21:11 +02:00
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
de91af605e Database operation to select a specific template 2023-04-04 22:36:20 +02:00
c70053eb53 Rewrite to handle routing of /customer/freelancer using POST 2023-04-04 01:51:27 +02:00
0693fc0bf5 Create Template representing a freelancers template 2023-04-04 01:49:52 +02:00
3915a375c5 Rewriting of Templates to utilize POST instead of GET 2023-04-04 01:49:14 +02:00
ff4f6d6fb6 Create Utilities Manager for storage of non database Based functions 2023-04-04 01:47:54 +02:00
f19d999c64 Change Template Table design to be more explicit and add said changes to the spec 2023-04-04 01:47:01 +02:00
b78b5bd05a Merge branch 'master' of https://git.snootgame.xyz/Cavemanon/cavecomm into local 2023-04-03 04:24:03 +02:00
6c8bf190ba Add alias system and alias creation page to the spec 2023-04-03 04:23:54 +02:00
fe23d47338 Remove woodpecker CI content
TODO: revamp the CI/CD system to use the C++ build system
2023-04-02 21:16:03 -05:00
93925341a2 Merge branch 'master' of git.snootgame.xyz:Cavemanon/cavecomm 2023-04-02 21:14:58 -05:00
c5d5d9eaee improved template spec definition 2023-04-02 21:13:54 -05:00
17c0123c19 Freelancer Profile page with Templates 2023-04-03 00:11:33 +02:00
33b7196690 Rewrite of Database to make it ID based to eliviate coherence issues that stem from naming and to avoid extrenous processing of critical data 2023-04-02 23:58:47 +02:00
04e41c2dce Freelancer Profile Listing
-Template, Database access, Handler
-Freelancer Database Table
2023-04-02 23:56:50 +02:00
b90f72f61a Migrated to C++
Reviewed-on: https://git.snootgame.xyz/Cavemanon/cavecomm/pulls/24
2023-03-21 09:05:08 +00:00
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
aea7bebbb5 Rewriting of test routes 2023-03-20 18:07:51 +01:00
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
b79a513e62 Modified Makefile potentially remove the include if it is generally not necessary.
-pthread is necessary
2023-03-20 17:59:41 +01:00
c1478da85a update readme 2023-03-13 03:41:38 -05:00
b4fb6833b3 remove this binary file 2023-03-13 03:40:22 -05:00
9a894b00b0 c++ git ignore 2023-03-13 03:40:07 -05:00
fc70b91b9d completed HTML assembler templates 2023-03-13 03:39:46 -05:00