wg-portal/assets/tpl
commonism 19c58fb5af
Fixes & API unit testing (#58)
* api - add OperationID

  helps when using pyswagger and is visible via
  http://localhost:8123/swagger/index.html?displayOperationId=true
  gin-swagger can not set displayOperationId yet

* api - match paramters to their property equivalents

  pascalcase & sometimes replacing the name (e.g. device -> DeviceName)

* api - use ShouldBindJSON instead of BindJSON

 BindJSON sets the content-type text/plain

* api - we renamed, we regenerated

* device - allow - in DeviceName wg-example0.conf etc

* api - more pascalcase & argument renames

* api - marshal DeletedAt as string

  gorm.DeletedAt is of type sql.NullTime
  NullTime declares Time & Valid as properties
  DeletedAt marshals as time.Time
  swaggertype allows only basic types
  -> string

* Peer - export UID/DeviceType in json
 UID/DeviceType is required, skipping in json, skips it in marshalling,
 next unmarshalling fails

* assets - name forms for use with mechanize

* api - match error message

* add python3/pyswagger based unittesting
 - initializes a clean install by configuration via web service
 - tests the rest api

* tests - test address exhaustion

* tests - test network expansion

Co-authored-by: Markus Koetter <koetter@cispa.de>
2021-09-29 18:41:13 +02:00
..
admin_create_clients.html sendall button for mails, update icons for peer creation buttons (#35) 2021-07-30 13:43:39 +02:00
admin_edit_client.html sendall button for mails, update icons for peer creation buttons (#35) 2021-07-30 13:43:39 +02:00
admin_edit_interface.html Fixes & API unit testing (#58) 2021-09-29 18:41:13 +02:00
admin_edit_user.html sendall button for mails, update icons for peer creation buttons (#35) 2021-07-30 13:43:39 +02:00
admin_index.html sendall button for mails, update icons for peer creation buttons (#35) 2021-07-30 13:43:39 +02:00
admin_user_index.html sendall button for mails, update icons for peer creation buttons (#35) 2021-07-30 13:43:39 +02:00
email.html fix mail template (#3) and rename some variables, also change default ordering (latest handshake first) 2021-03-22 12:39:50 +01:00
error.html sendall button for mails, update icons for peer creation buttons (#35) 2021-07-30 13:43:39 +02:00
index.html Added some more customization options (#43) 2021-09-12 10:17:13 +02:00
login.html Fixes & API unit testing (#58) 2021-09-29 18:41:13 +02:00
prt_flashes.html
prt_footer.html version 1.0.6, show version in footer 2021-04-07 20:07:40 +02:00
prt_nav.html fix some bugs in client mode, improve login ui 2021-04-05 19:12:27 +02:00
user_index.html sendall button for mails, update icons for peer creation buttons (#35) 2021-07-30 13:43:39 +02:00