Commit graph

43 commits

Author SHA1 Message Date
Anthony Al Lazkani
aa2f4539e7 Set timeout for 15 minutes instead of 10 seconds 2024-12-25 22:56:11 +02:00
Anthony Al Lazkani
ebff4c020f Fix a small bug within the URL shortener component 2024-12-25 22:36:09 +02:00
Anthony Al Lazkani
4947b55fe8 Merge remote-tracking branch 'origin/main' into feature-page 2024-12-25 22:09:10 +02:00
Elia el Lazkani
0238e4b67b enh(#10): Frontend is now configurable from config.json
The host URL is now read from configuration.
2024-12-25 15:33:49 +01:00
Elia el Lazkani
4c36f35492 fix(#10): Removes the timestamp from the API endpoint
The timestamp is generated by the database call, the value was mapped to
TTL. It is currently removed from the API, the TTL can be added later
when needed.
2024-12-25 15:32:00 +01:00
Elia el Lazkani
8dc4e41390 chore(#10): Delegates the task of setting the url to the backend API
* API now returns a full URL instead of a stub
* Frontend now returns the value from the API as is
* Configuration adds a scheme
2024-12-25 15:29:32 +01:00
Elia el Lazkani
abbfbfbffb chore(): Removes unneeded library imports 2024-12-25 15:21:20 +01:00
Elia el Lazkani
459a96f711 fix(): Fixes unexpected default export of anonymous function warning 2024-12-25 15:20:18 +01:00
Elia el Lazkani
a925c87872 enh(#8): Refactoring code 2024-12-24 01:40:50 +01:00
Elia el Lazkani
000729a925 chore(#8): Adds scripts to install, build and run the project 2024-12-24 01:40:15 +01:00
Elia el Lazkani
c058835f73 chore(#8): Initial migration into the new frontend UI 2024-12-24 01:40:15 +01:00
Elia el Lazkani
35c8dfd21a enh(): Adds configurable CORS
* Adds CORS configuration in the config file
* Enables CORS to be toggled through config
2024-12-24 00:38:37 +00:00
Elia el Lazkani
c036d042c3 fix(): Adds the pointer to the session before proceeding 2024-12-24 01:35:37 +01:00
Anthony Al Lazkani
35fa564a70 feat(#13): Adds new QR code feature 2024-12-24 01:22:46 +02:00
anthony
7f813e2c34 feature-page (#11,#4)
Refactor URL Shortening Feature and UI Enhancements
* Adds new feature page, user interface and user interface enhancement
Co-authored-by: anthony <anthony@Project42 - SCM <noreply@scm.project42.io>>
Co-committed-by: anthony <anthony@Project42 - SCM <noreply@scm.project42.io>>
2024-12-20 22:01:07 +00:00
Anthony Al Lazkani
7855a44b46 enh(#4): Adds new feature page 2024-12-20 23:40:38 +02:00
Anthony Al Lazkani
9c5c285b44 Adds new feature page, user interface and user interface enhancement 2024-12-20 23:08:52 +02:00
Anthony Al Lazkani
11e9ee6a32 enh(#4): Adds new frontend 2024-12-19 01:35:29 +02:00
Elia el Lazkani
6800c90936 chore(#5): Migration to SQLAlchemy
* Introduces models to map objects in the database
* Refactoring and cleanup of old code
* Updates configuration file
* Updates README.md
* Updates .gitignore
2024-12-18 01:38:31 +01:00
Elia el Lazkani
71981a5861 chore(#5): Fixes the timestamp into native SQL 2024-12-02 00:17:27 +01:00
Elia el Lazkani
dd37cdb6a3 chore(#5): Initial SQLAlchemy building blocks 2024-12-01 22:33:55 +01:00
Elia el Lazkani
6542ad3a8c chore(): Adds Sphinx to the mix
* Adds Sphinx to the dependency list
* Generates Sphinx related configuration
* Created Sphinx related docs
2024-11-30 11:50:55 +01:00
Elia el Lazkani
d616689b9b chore(): Migrates to poetry
* Migrates the repository to use poetry
* Changes to the development dependencies
* Cleanup of old code
2024-11-30 11:08:01 +01:00
Elia el Lazkani
c7c546f371 chore(): Updates README
CouchDB changed since the last time of development, updating the
README.md to match the changes.
2024-11-30 11:07:24 +01:00
Elia el Lazkani
f10af22168 chore(): Formats the code
* Formatting the code
* Fixing imports
2024-11-30 11:07:02 +01:00
Elia el Lazkani
b2ca72a809 chore(): Updates code to run on latest python
* Updates setup.py to use the markdown file
* Replaces load() with safe_load()
2022-06-17 22:14:36 +02:00
6060bd6b07 Fixes configuration path 2021-03-20 12:03:57 +01:00
d8ccfeeb14 Converts README from rst to md 2021-03-20 12:02:42 +01:00
Elia El Lazkani
3fa367602f Fixing typing for the NoReturn type methods 2019-11-04 18:02:42 +01:00
Elia El Lazkani
e9d2b2b23e Appending TODO. 2019-11-04 17:52:37 +01:00
Elia El Lazkani
7ce20357be clean-up of code no longer needed. 2019-11-04 17:52:03 +01:00
Elia El Lazkani
28b68e9a74 More code comments and type-setting 2019-11-04 17:44:32 +01:00
Elia El Lazkani
3f42b5bb57 Adding TODO list 2019-11-04 17:44:32 +01:00
Elia El Lazkani
887aab2960 Removing the tag dependency until it is relevant. 2019-11-04 17:11:21 +01:00
Elia El Lazkani
db07547ecb Adding more information to the README 2019-11-01 19:51:45 +01:00
Elia El Lazkani
126af19e87 Adding the ability to choose upper or lower case ID generation 2019-10-13 16:42:49 +02:00
Elia El Lazkani
71a4ad4a65 Migrated the ID generation system for security reasons.
We have a new ID generator. This should make it hard to
guess other user's IDs. This is configurable.
2019-10-13 16:19:32 +02:00
Elia El Lazkani
0c44ad5c6b Moving to clipboard for copying to clipboard 2019-10-13 13:32:33 +02:00
Elia El Lazkani
6853e02b1f Migrating from aiohttp to flask due 2019-10-13 13:32:33 +02:00
Elia El Lazkani
5b37f5759c Minor fixes 2019-10-13 13:32:33 +02:00
Elia El Lazkani
54945189b6 Add LICENSE 2019-10-07 22:07:37 +00:00
Elia El Lazkani
03a38d7160 Committing initial draft of shortenit 2019-10-02 21:30:42 +02:00
Elia El Lazkani
ec1277ab85 Second commit 2019-09-29 13:03:45 +02:00