Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ColdHeat
Copy link
Member

@ColdHeat ColdHeat commented Dec 9, 2018

2.0.1 is a patch release to fix regressions and bugs in 2.0.0.
If you are upgrading from a version prior to 2.0.0 please read the 2.0.0 change notes for instructions on updating to 2.0.0 before updating to 2.0.1.

General

  • Fix setting auth for get_smtp().
    • Add MAIL_USEAUTH to config.py.
  • Add more mail documentation to config.py.
  • Disable jinja cache properly by setting cache_size to 0 (Re-enable jinja cache #662)
    Regression from 1.2.0.
  • Fix downloading files as an anonymous user.
  • Fix viewing challenges anonymously if they have empty requirements. Closes Not possible to download files as anonymous user #789
    • Allow anonymous users to see see challenges with empty requirements or anonymized challenges
  • Clean up admin mail settings to use new label/small structure
  • Fix email confirmations and improve test.
  • Fix password resets from double hashing passwords

Themes

  • Change confirm.html to use the variable user instead of team

API

  • Grant admin write access to verified field in UserSchema.
  • Fix setting mail_username, mail_password
  • Prevent overriding smtp attributes on config update
  • Fix hint loading for admins by adding /api/v1/hints/<id>?preview=true for use by admins
  • Fixing a bug where prerequisites could not be set for dynamic challenges due to a division by zero error where defaults were being set unnecessarily.

Exports

  • Fix syncing down an empty S3 bucket
  • Fix S3Uploader in Python 3 and fix test
  • Fix S3 sync function to only pull down files instead of trying to pull directories

@codecov
Copy link

codecov bot commented Dec 9, 2018

Codecov Report

Merging #796 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #796      +/-   ##
==========================================
- Coverage   84.64%   84.62%   -0.03%     
==========================================
  Files          91       91              
  Lines        4506     4506              
==========================================
- Hits         3814     3813       -1     
- Misses        692      693       +1
Impacted Files Coverage Δ
CTFd/__init__.py 87.7% <100%> (ø) ⬆️
CTFd/utils/updates/__init__.py 79.48% <0%> (-2.57%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 234d9ec...d0beb93. Read the comment docs.

@ColdHeat ColdHeat merged commit f3a97f7 into master Dec 9, 2018
@ColdHeat ColdHeat deleted the mark-2.0.1 branch December 9, 2018 20:47
stefan2904 pushed a commit to LosFuzzys/CTFd that referenced this pull request Dec 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not possible to download files as anonymous user

2 participants