1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00
Commit Graph

115 Commits

Author SHA1 Message Date
Uncled1023
0ea4d97db1 Changed Status to Stats 2018-05-10 20:12:33 -07:00
Uncled1023
bf47978253 Added restricted file extensions for uploads 2018-02-14 19:54:06 -08:00
Uncled1023
ce0ded7c55 Added method to make uploads over a certain size direct to the download page and force a SaveAs dialog. This is to prevent non-user uploads from being spammed to host large videos/embedded data. 2018-02-03 16:40:24 -08:00
Uncled1023
c099076d8e Fixed Visitor Data not being pulled correctly.
Fixed a couple Context null reference possibilities with the Config and Pre-Send Headers event.
2018-01-31 22:56:11 -08:00
Uncled1023
73403551d6 Reverted Piwik Tracker package to last working copy. 2018-01-31 01:19:13 -08:00
Uncled1023
37424956db Implemented dynamic CSP and added nonces to all inline script tags, and fixed inline js. 2018-01-29 23:18:47 -08:00
Uncled1023
c695051a9b Made tracking a synchronous process 2018-01-28 15:08:32 -08:00
Uncled1023
86559669b7 Added cacheing to the Config loading instead of file hash.
Reworked page view tracking to match link and download.
2018-01-28 12:49:37 -08:00
Uncled1023
782aba9d22 Modified tracking to not pass in any volatile objects. 2018-01-28 02:43:12 -08:00
Uncled1023
3b17dd9e76 Updated Nuget Packages.
Optimized Blacklist module to not use locks.
2018-01-28 01:06:15 -08:00
Uncled1023
bea394cbaf Added IP and Referrer blacklists. 2018-01-27 20:23:56 -08:00
Uncled1023
8827992935 Optimized tracking filters 2018-01-27 16:35:27 -08:00
Uncled1023
a9a80f7a97 Fixed status realtime charts not loading when visit chart is hidden.
Cleaned up ResponseHelper to reduce unecessary processing.
2018-01-27 01:18:28 -08:00
Uncled1023
a7c314d728 - Implemented invite codes to use for registration.
- Reorganized settings pages into individual pages.
2018-01-16 22:36:11 -08:00
Uncled1023
51b4260f3c - Added account status of either active or banned.
- Cleaned up admin pages.
- Added Type and Status to user's profile page.
- Banned users cannot login, or associate API calls with their account
2018-01-09 22:06:43 -08:00
Uncled1023
e6589638bd Added restricted content types parameter for uploads 2017-12-20 11:08:34 -08:00
Uncled1023
028a2d252d Updated markdown help.
Updated editor to have same settings as final transform.
2017-08-11 15:57:43 -07:00
Uncled1023
8554648174 Added HTML support for blog post articles 2017-08-11 15:27:02 -07:00
Uncled1023
a1606c8662 Updated markdown helper to use Extra mode 2017-08-07 14:25:44 -07:00
Uncled1023
64a48d2ddd Added MIME magic number filetype finder 2017-07-27 00:52:23 -07:00
Uncled1023
fc0ee9f673 Fixed Aes128CFB not correctly padding the text for encryption/decryption 2017-06-11 13:32:01 -07:00
Uncled1023
181e20d86c - Added AES 128 CFB encrypt/decrypt with IV padding.
- Added helper to edit/remove two factor secrets to/from Git.
- Removed uneccessary references.
- Added initial Unit Tests.
2017-06-11 00:03:44 -07:00
Uncled1023
86fe419389 Fixed multiple crypto bugs. 2017-06-09 10:41:00 -07:00
Uncled1023
b642f01246 - Added user helper function to change the account type for a given user.
- Added item to admin page to change a user's account type.
2017-06-04 23:06:40 -07:00
Uncled1023
656693e0c6 - Removed Inferno crypto library
- Converted SHA384 hashing to use standard .net library
- Moved rest of crypto.cs into the cryptography folder/namespace
2017-04-14 23:28:34 -07:00
Uncled1023
dc66ed77bc Added exception handler to response helper 2017-04-13 10:54:19 -07:00
Uncled1023
b207346fe0 Updated newtonsoft across the board to a single version 2017-04-12 10:45:16 -07:00
Uncled1023
cfa226fa6a Finalized new AES cipher wrapper and removed old instance. 2017-04-12 00:10:39 -07:00
Uncled1023
72e5f4b62e Made AesStream handle syncing with the counter of the cipher. 2017-04-11 22:01:42 -07:00
Uncled1023
38bcfd9fc1 Created new AES CTR wrapper to allow specifying the counter manually 2017-04-11 17:07:38 -07:00
Uncled1023
1485126096 Revert "- Added a small workaround to possibly support specific block decryption - updated newtonsoft"
This reverts commit 6fbc187e9c.
2017-04-11 09:36:58 -07:00
Uncled1023
6fbc187e9c - Added a small workaround to possibly support specific block decryption
- updated newtonsoft
2017-04-10 23:35:45 -07:00
Uncled1023
3bef7915dd Adding some handling of block offsets for in place encryption/decryption 2017-04-10 17:15:18 -07:00
Uncled1023
19b6564ccd Small mods to download function 2017-04-09 00:16:24 -07:00
Uncled1023
e163e0ca8c - Moved TeknikEntities from global field to disposed local instances.
- Added additional logging/handling of errors.
- Added processed/total bytes for uploads, downloads, and encryption/decryption.
- Fixed paste CSS bundle using a script handler.
- Fixed bad js when viewing a vault
2017-04-08 21:01:31 -07:00
Uncled1023
b7e00579b5 Added basic IRC web interface that connects to a specific server specified in the config. 2017-03-25 00:49:39 -07:00
Uncled1023
86e79b98ca - Added better error messages to login/register ajax response.
- Added new AES stream helper to encrypt/decrypt a stream as it's being processed.
2017-03-20 00:11:22 -07:00
Uncled1023
446c74d45b Removed range support as decrypting directly to the output stream didn't work well with ranges. 2017-03-17 22:30:03 -07:00
Uncled1023
da3d923ab7 - Created custom IPrincipal for the user session to include all the user information.
- Added FAQ page with commonly asked questions.
- Added separate config options for each tier of max upload size.
- Updated help to point to the new pages.
2017-02-19 17:50:05 -08:00
Uncled1023
b967bc07d6 Moved transpaerency to the new status page, and separated each section into a tab. 2017-02-19 00:12:51 -08:00
Uncled1023
2c972f1a83 Added Status page for viewing realtime stats of server resources.
Currently setup with CPU, Memory, and Network
2017-02-17 16:54:27 -08:00
Uncled1023
46b4fc9c9e Added visitor stats to transparency page. 2017-02-17 00:45:40 -08:00
Uncled1023
66994dde8a Fixed auth ticket not having a long timeout. Changed to be a 1 year timeout for logins. 2017-02-15 14:05:04 -08:00
Uncled1023
efc7f7dae6 Added ability to create vaults.
Added preventing viewing of Paste if it was password protected.
Added download increments for each item.
Added checking for paste expiration.
Added not showing upload if it was encrypted client side.
2017-02-13 17:38:33 -08:00
Uncled1023
a509291022 - Modified uploads to either encrypt in the browser, or encrypt server side.
- Reconfigured the upload screen.
2017-02-12 12:38:16 -08:00
Uncled1023
679c148029 Added content size to podcast download 2017-02-09 23:15:42 -08:00
Uncled1023
e5b8533e33 Made podcasts stream in batches 2017-02-09 22:34:50 -08:00
Uncled1023
e7f02471e5 - Added better error handling in download function.
- Fixed script passthrough to downloads.
2017-02-09 11:53:56 -08:00
Uncled1023
b7a9f2a740 Made downloads stream the file while decrypting them. 2017-02-09 00:17:36 -08:00
Uncled1023
2ac90fbbbe Modified download to stream to the output. 2017-02-08 17:29:15 -08:00
Uncled1023
c68e1d2ec6 Separated cipher processing into more subfunctions 2017-02-08 16:38:22 -08:00
Uncled1023
8d561dd5b8 Started making changes to how the file upload encrypt/decrypt works to better optimize memory usage. 2017-02-08 16:04:17 -08:00
Uncled1023
cbe5078b9d - Added Basic Auth handling inside the auth attributes
- Removed global auth attribute and moved it to each controller
- Added new auth information to the API help doc
- Finished UI for managing auth tokens
- Added breadcrumbs to the help pages
2017-01-21 21:13:25 -08:00
Uncled1023
7214185167 Fixed min log level using email level config option 2017-01-18 16:31:01 -08:00
Uncled1023
eceb9f22ab Added try/catch wrappers around the logging to handle exceptions that shouldn't be tracked. 2017-01-18 15:42:09 -08:00
Uncled1023
e4ffc56020 Fixed logger not sending emails correctly. 2017-01-18 15:16:05 -08:00
Uncled1023
fc08678d7d Created logging utility to handle writing log messages and sending emails. 2017-01-18 14:36:44 -08:00
Uncled1023
8a3f232205 Created EmailAccount model for configs, and moved COntactConfig to use the new model, as well as for logging. 2017-01-18 13:04:11 -08:00
Uncled1023
ecf7dd9362 Added gitversioning to all projects 2017-01-18 12:29:26 -08:00
Uncled1023
aeb2b55c8e Fixed references 2017-01-18 12:23:18 -08:00
Uncled1023
56b0063dce Moved Helpers and Configuration into separate projects. Updated all references to use them as well. 2017-01-18 00:12:22 -08:00
Uncled1023
3f10fc6616 - Added logging config.
- Added log levels for logging utility.
2017-01-10 23:39:15 -08:00
Uncled1023
1920dda2af Added initial logging project 2017-01-10 16:53:54 -08:00
Uncled1023
5071ce4a34 Made podcast direct link more unique 2017-01-09 23:49:47 -08:00
Uncled1023
56362057be Moved StringHelper and Byte extensions to Utility project. 2017-01-09 19:56:26 -08:00