Activity for Apache Allura™

  • Carlos Cruz Carlos Cruz posted a comment on merge request #412

    Fixes: Reverted the use of owner and owner_id back to user and user_id in order to be consistent with the user objects set in the authentication pipeline. Removed the use of ast.literal_eval and replaced it in favor of json.dumps to serialize the credentials object and json.loads to reconstruct it Fixed the issue with access tokens' expiration date Fixed failing tests Removed try / except clauses from the authorization and token endpoints The OAuth2AccessToken has no attribute remove error was fixed...

  • Dillon Walls Dillon Walls modified ticket #8560

    Support Google Analytics 4 (GA4)

  • Dillon Walls Dillon Walls created ticket #8560

    Support Google Analytics 4 (GA4)

  • Dave Brondsema Dave Brondsema posted a comment on merge request #412

    I also got this error when re-authorizing an app a 2nd time 15:55:11,232 ERROR [allura.controllers.rest] type object 'OAuth2AccessToken' has no attribute 'remove' Traceback (most recent call last): File "/src/allura/Allura/allura/controllers/rest.py", line 575, in token headers, body, status = self.server.create_token_response(uri=request.url, http_method=request.method, body=json_body, headers=request.headers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

  • Dave Brondsema Dave Brondsema posted a comment on merge request #412

    instead of ast.literal_eval what about json.loads? I think that'd be a bit more typical and safer (literal_eval is more safe than regular eval, but I just checked the docs and it does have some warnings about ways it might not be safe) several TestOAuth2 tests fail with allura/controllers/rest.py:547: in do_authorize credentials = ast.literal_eval(request.params['credentials']) ../../env3-allura/lib/python3.11/site-packages/webob/multidict.py:344: in __getitem__ raise KeyError(key) E KeyError: 'credentials'...

  • Dave Brondsema Dave Brondsema updated merge request #413

    Ignore .vscode settings folder

  • Carlos Cruz Carlos Cruz created merge request #413 on Git

    Ignore .vscode settings folder

  • Carlos Cruz Carlos Cruz created merge request #412 on Git

    Implement security features for OAuth2 support

  • Kenton Taylor Kenton Taylor modified ticket #8559

    tickets API: better type handling

  • Kenton Taylor Kenton Taylor posted a comment on ticket #8559

    Merged.

  • Dave Brondsema Dave Brondsema modified ticket #8559

    tickets API: better type handling

  • Dave Brondsema Dave Brondsema posted a comment on ticket #8559

    allura:db/8559 It actually mostly worked, only a few code changes needed. Tests and docs improved.

  • Dave Brondsema Dave Brondsema created ticket #8559

    tickets API: better type handling

  • Dave Brondsema Dave Brondsema updated merge request #410

    Add authorization view for OAuth2 support

  • Dave Brondsema Dave Brondsema updated merge request #411

    Add tests to OAuth2 features

  • Dave Brondsema Dave Brondsema modified a comment on merge request #411

    need to restore the csp.form_actions_enforce code that is commented out. Either now or in a following merge request, can make it skip only for the oauth redirects allura/tests/functional/test_root.py has failures because of this allura/tests/functional/test_auth.py and allura/tests/functional/test_rest.py test failures. Interestingly, they pass if I have auth.oauth2.enabled = false in development.ini (but then some oauth2 tests fail of course) If those get addressed, then I can merge this as an incremental...

  • Dave Brondsema Dave Brondsema modified a comment on merge request #411

    need to restore the csp.form_actions_enforce code that is commented out. Either now or in a following merge request, can make it skip only for the oauth redirects allura/tests/functional/test_root.py has failures because of this allura/tests/functional/test_auth.py and allura/tests/functional/test_rest.py test failures. Interestingly, they pass if I have auth.oauth2.enabled = false in development.ini (but then some oauth2 tests fail of course) If those get addressed, then I can merge this as an incremental...

  • Dave Brondsema Dave Brondsema posted a comment on merge request #411

    need to restore the csp.form_actions_enforce code that is commented out. Either now or in a following merge request, can make it skip only for the oauth redirects allura/tests/functional/test_root.py has failures because of this allura/tests/functional/test_auth.py and allura/tests/functional/test_rest.py test failures. Interestingly, they pass if I have auth.oauth2.enabled = false in development.ini (but then some oauth2 tests fail of course) If those get addressed, then I can merge this as an incremental...

  • Guillermo Cruz Guillermo Cruz committed [062892] on Git

    code updates to AkismetWithoutStartupVerify

  • Dave Brondsema Dave Brondsema created ticket #8558

    user email changes not getting into solr

  • Guillermo Cruz Guillermo Cruz committed [e83afa] on Git

    pin docutils to v0.20.1 to keep compatibility with older versions of Python

  • Guillermo Cruz Guillermo Cruz modified ticket #8557

    Upgrade python packages

  • Guillermo Cruz Guillermo Cruz posted a comment on ticket #8557

    ticket has been merged

  • Dave Brondsema Dave Brondsema modified a comment on merge request #411

    First pass of feedback, also including earlier merge request(s). More to come probably, but I wanted to give you what I have so far: the commits should use Allura ticket numbers. I found a ticket for oauth2 support here: https://forge-allura.apache.org/p/allura/tickets/7272/ so can you rebase the branch and edit the commit messages to be [#7272]? test_revoke_tokens fails comparing model classes to oauth1 ones: those that have a user_id field, you can add a user = RelationProperty('User') line similar...

  • Guillermo Cruz Guillermo Cruz committed [21b6e8] on Git

    [#8557] updated _strip_tags_re with regexp since it was removed from markupsafe package

  • Guillermo Cruz Guillermo Cruz committed [b9f668] on Git

    [#8557] Upgrade pre-commit 3.6.0 -> 3.7.0, and its deps: cfgv,identify,nodeenv,setuptools,PyYAML,virtualenv,distlib,filelock,platformdirs

  • Guillermo Cruz Guillermo Cruz committed [4052bd] on Git

    [#8557] Upgrade gunicorn 21.2.0 -> 22.0.0, and its deps: packaging

  • Guillermo Cruz Guillermo Cruz committed [b94e1b] on Git

    [#8557] Upgrade pytest-sugar 0.9.7 -> 1.0.0, and its deps: packaging,pytest,iniconfig,packaging,pluggy,termcolor

  • Guillermo Cruz Guillermo Cruz committed [7c6285] on Git

    [#8557] Upgrade pytest 7.4.4 -> 8.1.1, and its deps: iniconfig,packaging,pluggy

  • Guillermo Cruz Guillermo Cruz committed [076b9c] on Git

    [#8557] Upgrade testfixtures 7.2.2 -> 8.1.0

  • Guillermo Cruz Guillermo Cruz committed [87663f] on Git

    [#8557] Upgrade ruff 0.3.2 -> 0.3.7

  • Guillermo Cruz Guillermo Cruz committed [c5490f] on Git

    [#8557] Upgrade werkzeug 3.0.1 -> 3.0.2, and its deps: MarkupSafe

  • Guillermo Cruz Guillermo Cruz committed [4d3ef9] on Git

    [#8557] Upgrade WebHelpers2 2.0 -> 2.1, and its deps: MarkupSafe,six

  • Guillermo Cruz Guillermo Cruz committed [daa6b8] on Git

    [#8557] Upgrade requests-oauthlib 1.3.1 -> 2.0.0, and its deps: oauthlib,requests,certifi,charset-normalizer,idna,urllib3

  • Guillermo Cruz Guillermo Cruz committed [5a9200] on Git

    [#8557] Upgrade python-dateutil 2.8.2 -> 2.9.0. (OUTDATED! latest is: 2.9.0.post0), and its deps: six

  • Guillermo Cruz Guillermo Cruz committed [89a6b9] on Git

    [#8557] Upgrade Pypeline 0.6.1 -> no upgrade, and its deps: bleach,six,webencodings,html5lib,six,webencodings,Creoleparser,Genshi,six,six,Markdown,textile,html5lib,six,webencodings,regex,docutils

  • Guillermo Cruz Guillermo Cruz committed [88d5be] on Git

    [#8557] Upgrade PasteScript 3.4.0 -> 3.5.1, and its deps: Paste,setuptools,six,PasteDeploy,setuptools,six

  • Guillermo Cruz Guillermo Cruz committed [094a4a] on Git

    [#8557] Upgrade Markdown 3.5.2 -> 3.6

  • Guillermo Cruz Guillermo Cruz committed [8e4fde] on Git

    [#8557] Upgrade GitPython 3.1.41 -> 3.1.43, and its deps: gitdb,smmap

  • Guillermo Cruz Guillermo Cruz committed [844a4d] on Git

    [#8557] Upgrade emoji 2.9.0 -> 2.11.0

  • Guillermo Cruz Guillermo Cruz committed [43eb27] on Git

    [#8557] Upgrade beaker-session-jwt 1.0.1 -> no upgrade, and its deps: Beaker,joserfc,cryptography,cffi,pycparser,pymongo

  • Guillermo Cruz Guillermo Cruz committed [9c9d09] on Git

    [#8557] Upgrade Beaker 1.12.1 -> 1.13.0

  • Guillermo Cruz Guillermo Cruz committed [2bfe92] on Git

    [#8557] Upgrade beautifulsoup4 4.12.2 -> 4.12.3, and its deps: soupsieve

  • Guillermo Cruz Guillermo Cruz committed [3aebac] on Git

    [#8557] Upgrade ActivityStream 0.4.2 -> no upgrade, and its deps: pymongo

  • Guillermo Cruz Guillermo Cruz created ticket #8557

    Upgrade python packages

  • Dave Brondsema Dave Brondsema posted a comment on merge request #411

    First pass of feedback, also including earlier merge request(s). More to come probably, but I wanted to give you what I have so far: the commits should use Allura ticket numbers. I found a ticket for oauth2 support here: https://forge-allura.apache.org/p/allura/tickets/7272/ so can you rebase the branch and edit the commit messages to be [#7272]? test_revoke_tokens fails comparing model classes to oauth1 ones: those that have a user_id field, you can add a user = RelationProperty('User') line similar...

  • Carlos Cruz Carlos Cruz created merge request #411 on Git

    Add tests to OAuth2 features

  • Guillermo Cruz Guillermo Cruz committed [60ada4] on Git

    bump idna 3.6 -> 3.7

  • Carlos Cruz Carlos Cruz created merge request #410 on Git

    Add authorization view for OAuth2 support

  • Guillermo Cruz Guillermo Cruz committed [1edc56] on Git

    [#8556] simplify more calls

  • Guillermo Cruz Guillermo Cruz committed [74e83f] on Git

    [#8556] remove unnecessary extra () on has_access calls

  • Guillermo Cruz Guillermo Cruz committed [e0ee0f] on Git

    [#8556] avoid recursive TruthyCallable

  • Guillermo Cruz Guillermo Cruz modified ticket #8555

    check blocked users better

  • Guillermo Cruz Guillermo Cruz posted a comment on ticket #8555

    merged

  • Guillermo Cruz Guillermo Cruz committed [b6f3dc] on Git

    [#8555] debugging option within has_access

  • Guillermo Cruz Guillermo Cruz committed [431109] on Git

    [#8555] some specific checks for blocked users, when creating new forum threads

  • Guillermo Cruz Guillermo Cruz committed [d7af03] on Git

    bump Pillow package 10.2.0 -> 10.3.0

  • Dave Brondsema Dave Brondsema modified ticket #8555

    check blocked users better

  • Dave Brondsema Dave Brondsema committed [5892b1] on Git

    [#8556] simplify more calls

  • Dave Brondsema Dave Brondsema committed [a8497a] on Git

    [#8556] remove unnecessary extra () on has_access calls

  • Dave Brondsema Dave Brondsema committed [bc4676] on Git

    [#8556] avoid recursive TruthyCallable

  • Dave Brondsema Dave Brondsema committed [fc4c27] on Git

    [#8555] debugging option within has_access

  • Dave Brondsema Dave Brondsema committed [956c57] on Git

    [#8555] some specific checks for blocked users, when creating new forum threads

  • Dave Brondsema Dave Brondsema modified ticket #8556

    deprecate and remove has_access(..)() syntax

  • Dave Brondsema Dave Brondsema posted a comment on ticket #8556

    db/8556 on allura, forgehg, and forgepastebin db/8556-breaking-removal needs to be merged later, after we do a release and give anyone a chance to update their code. You can review and test it though.

  • Dave Brondsema Dave Brondsema committed [c68d64] on Git

    [#8556] unindent block

  • Dave Brondsema Dave Brondsema committed [11902a] on Git

    [#8556] remove TruthyCallable and predicate stuff used by has_access

  • Dave Brondsema Dave Brondsema committed [545732] on Git

    [#8556] simplify more calls

  • Dave Brondsema Dave Brondsema committed [e7a905] on Git

    [#8556] remove unnecessary extra () on has_access calls

  • Dave Brondsema Dave Brondsema committed [85c2a4] on Git

    [#8556] avoid recursive TruthyCallable

  • Dave Brondsema Dave Brondsema committed [2db77c] on Git

    [#8555] debugging option within has_access

  • Dave Brondsema Dave Brondsema committed [61d406] on Git

    [#8555] some specific checks for blocked users, when creating new forum threads

  • Dave Brondsema Dave Brondsema created ticket #8556

    deprecate and remove has_access(..)() syntax

  • Dave Brondsema Dave Brondsema posted a comment on ticket #8555

    db/8555 It was tempting to change this has_access code: # access is denied for this role break to be return False. That would've fixed this situation, but made several other tests fail. Instead, I decided it'd be better to change a few non-core places, and not change the core has_access logic (even if maybe it deserves a refactor some day)

  • Dave Brondsema Dave Brondsema created ticket #8555

    check blocked users better

<< < 1 2 3 4 >