increase akismet default timeout
[#8573] hide admin/update/create permissions for authorized and anonymous users
Prevent bad permissions setup
fixup! fixup! [#8573] hide admin/update/create permissions for authorized and anonymous users
fixup! [#8573] hide admin/update/create permissions for authorized and anonymous users
[#8573] hide admin/update/create permissions for authorized and anonymous users
Prevent bad permissions setup
update beaker-session-jwt
Make multifactor flow more reliable
if you end up on /auth/ or /auth/multifactor already fully logged in, skip that form
incomplete multifactor auth redirs back to form, instead of messing with session (problematic if you have any background requests like images, ajax etc)
create return_to redirect helper
Make multifactor flow more reliable
Looks good. Merging.
also detect 'fetch()' requests as ajax
fix and simplify beautifulsoup selector
enforce new passwords (not current one again) on pwd reset links
fix for wiki pages that don't have any history
bump Jinja2 3.1.4 -> 3.1.5
add more password change settings
[#8572] option to force pwd changes for all, similar to logic after a HIBP hit
fixup! fixup! [#8572] option to force pwd changes for all, similar to logic after a HIBP hit
fixup! [#8572] option to force pwd changes for all, similar to logic after a HIBP hit
[#8572] option to force pwd changes for all, similar to logic after a HIBP hit
add more password change settings
db/8572
add more password change settings
detect fetch() as ajax request
also detect 'fetch()' requests as ajax
bump Ming to 0.15.2
remove pin for pymongo==4.8.0 and upgrade to latest
bump Ming to 0.15.2
remove pin for pymongo==4.8.0 and upgrade to latest
task view improvements: show project neighborhood, remove ming I prefixes on args/kwargs
merge request error on can_merge_cache_key
Cleanup after publishing new API docs
drop python 3.8 support
Add noindex on stats pages
upgrade ming 0.15.0 -> 0.15.1
upgrade ming 0.15.0 -> 0.15.1
Upgrade Python packages
upgrade pypeline to latest
[#8570] test updates
[#8570] ran pre-commit autoupdate to keep ruff versions in sync
fixup! [#8570] ran pre-commit autoupdate to keep ruff versions in sync
[#8570] ran pre-commit autoupdate to keep ruff versions in sync
[#8570] migrated pre-commit to latest settings
[#8570] requirements rebuilt with Python 3.9
#8570 pinned Ming to 0.15.0 and pymongo to 4.8.0
[#SF-9782] Upgrade pre-commit 3.7.1 -> 4.0.1, and its deps: cfgv,identify,nodeenv,PyYAML,virtualenv,distlib,filelock,platformdirs
[#SF-9782] Upgrade pytest-sugar 1.0.0 -> no upgrade, and its deps: packaging,pytest,iniconfig,packaging,pluggy,termcolor
[#SF-9782] Upgrade pytest 8.3.1 -> 8.3.3, and its deps: iniconfig,packaging,pluggy
[#SF-9782] Upgrade WebTest 3.0.0 -> 3.0.1, and its deps: beautifulsoup4,soupsieve,waitress,WebOb
[#SF-9782] Upgrade ruff 0.5.4 -> 0.7.2
[#SF-9782] Upgrade Werkzeug 3.0.6 -> 3.1.2, and its deps: MarkupSafe
[#SF-9782] Upgrade qrcode 7.4.2 -> 8.0, and its deps: pypng,typing_extensions
[#SF-9782] Upgrade pysolr 3.9.0 -> 3.10.0, and its deps: requests,certifi,charset-normalizer,idna,urllib3
[#SF-9782] Upgrade pillow 10.4.0 -> 11.0.0
[#SF-9782] Upgrade paginate 0.5.6 -> 0.5.7
[#SF-9782] Upgrade Ming 0.15.0 -> 0.15.1, and its deps: pymongo,dnspython,pytz
[#SF-9782] Upgrade Markdown 3.6 -> 3.7
[#SF-9782] Upgrade emoji 2.12.1 -> 2.14.0, and its deps: typing_extensions
Upgrade Python packages
pep8 reformatting
clean up unused imports, mark helpers.py lines that we need to keep
__all__ for model/__init__.py files
py312 prep - Conversion of remaining unitest-style assertions
py312 prep - Convert remaining unittest assertions -> pytest
py312 prep - Remove assertTrue/False
dependency-check upgrade waitress >=3.0.1
[#8569] add noindex tag to tracker stats pages and also for /_discuss urls
Add noindex on stats pages
fixup! py312 prep - Conversion of remaining unitest-style assertions
py312 prep - Conversion of remaining unitest-style assertions
test speedup: always use lxml (if html5lib is selected, some tests fail)
test speedup: smarter bs4 parser selection
test speedup: response.html faster parser
bump werkzeug 3.0.3 -> 3.0.6
py312 prep - Convert remaining unittest assertions -> pytest
SF-8374 py312 prep - Remove assertTrue/False
drop python 3.8 support
latest version of ming which pulls in pymongocrypt and more deps
update RAML versions
We switched to openapi docs instead
minor fixes
update link to new API docs url
remove old API spec files
[#8568] support basic auth to solr
support basic auth to solr
merged
Yea the use-case is along those lines. But it still is a bit awkward, I wasn't sure if a better way. Here's the situation (in some non-oss code we have). Calling code was originally: make_solr_from_config(solr_mail_server) and it was only doing queries, so push_server_auths[0] logic was being used. It needed auth and I wanted to provide the query auth since it was only doing queries: make_solr_from_config(solr_mail_server, query_server_auth=(some_user, some_pass)) so I ended up with this
Ok, that makes sense. In that case though, shouldn't it use push_server_auths[0] since it's using the push server? OTOH I can also see the case for having two sets of credentials for the same host; a set of push credentials and a set of query credentials while the host is the same.
self.query_server is a pysolr object, and in most cases gets its auth attribute set in the constructor. This line modifies that for a certain case. And then afterwards it gets used internally by pysolr
This all looks good. I have the tiniest note: It looks like self.query_server.auth is unused?
Update tests related to solr.use_new_types
Remove unneeded warning ignores
[#8568] support basic auth to solr
[#8568] support basic auth to solr
support basic auth to solr
db/8568