ABerberovic
70397cae7f
GUI functions don't send the API-Key in the bearer token anymore. API-Key is only sent from server to client in the settings page
2023-05-16 21:16:30 +02:00
Mark Cabanero
78e9a51168
Add Trusted Origins to CSRF Handler ( #2301 )
...
Enables the user to add addresses that they expect incoming connections
to come from. Helpful in cases where TLS termination is handled by a
load balancer upstream, rather than the application itself.
2022-09-06 16:20:19 +02:00
Glenn Wilkinson
9de32746ee
Added IMAP support for checking reported emails ( #1612 )
...
Initial support of managing reporting through IMAP.
Co-Authored-By: Jordan Wright <jmwright798@gmail.com>
2020-01-18 11:58:34 -06:00
Jordan Wright
caede2e40b
Refactoring Logging ( #1722 )
...
* Added ParseLevel to set log level (#1671 )
* Moved logger config into the logger package for better decoupling. Added logging tests.
Co-authored-by: Amal Alkhamees <Amalkh5@users.noreply.github.com>
2020-01-16 22:21:58 -06:00
Jordan Wright
10aa98b760
Moving logging configuration into its own section of the config
2018-10-06 17:51:49 -05:00
Jordan Wright
bef52d36f1
Adding ability to log to file as well as stderr. Fixes #441 . Fixes #1209 .
2018-10-06 15:47:31 -05:00
Jordan Wright
64c5e54c64
Added a contact_address entry in config.json to support transparency efforts (ref #1057 ).
...
Also added a warning in the case where a contact address isn't provided, and fixed the JSON formatting of the configuration.
2018-06-09 18:17:22 -05:00
Jordan Wright
0f5bf29972
Automatic Creation of SSL Certificates ( #443 )
...
Thanks @ss23!
2016-11-19 12:04:10 -06:00
Jordan Wright
f12af50d46
Adding support for Mysql ( #442 )
...
Thanks, @svigne1!
Fixes #53
2016-11-19 10:37:22 -06:00
Jordan Wright
3a37849324
Removed unneeded SMTP config in favor of the Sending Profiles. Fixes #434
2016-11-18 19:05:47 -06:00
Jordan Wright
379edf73a3
Adding first round of database migrations using goose
2016-01-18 21:13:32 -06:00
William Woodson
44852546e0
Added UseTLS config option for both Admin and Phish servers
2016-01-17 10:45:13 -06:00
Jordan
0f603e6501
Added http handler for phishing endpoint - Will add content soon
...
Updated config.go to reflect the new changes
2014-06-29 16:44:16 -05:00
Jordan
7eb90b27ad
Moved DB to root folder
...
Created db package to handle DB connection/queries
Removed Setup.go (now handled in db package)
Setup context in middleware
2014-01-09 17:18:49 -06:00
Jordan
e6343292be
Working on setting up Login functionality
...
Introduced working with SQLite DB - working on setting up database on first run
Added "dbpath" to config
2014-01-06 00:09:41 -06:00
Jordan Wright
a64b0c10c9
Moved structs to models.go file
...
Changed config to have "host" string
Working on simple mailing library
Some basic template bug fixes (eventually I might move the side nav to a template)
2013-12-12 00:27:43 -06:00
Jordan Wright
a3518032be
Added config file integration, updated some styles
2013-12-06 17:39:40 -06:00
Jordan Wright
1d6e25a2d1
Initial commit - getting the ball rolling!
2013-12-02 22:56:55 -06:00