In T15848#19430, @valerio.bozzolan wrote:I would like to better understand the root problem.
Why changing the current user agent should improve the situation?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Mon, Dec 2
Mon, Dec 2
aklapper closed T15963: LDAP over TLS is broken as Resolved by committing rP0bfdcaa005b1: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated"….
Sun, Dec 1
Sun, Dec 1
Sep 16 2024
Sep 16 2024
aklapper closed T15848: newOAuth1Future doesn't set a User-Agent as Resolved by committing rP39237c0854fe: Set base-uri as User-Agent for OAuth1 and Github authentication.
Sep 6 2024
Sep 6 2024
Sep 5 2024
Sep 5 2024
@valerio.bozzolan: thats not what Andre says. He says another area of the code uses a terrible user agent and we should change that to a better one at the same time.
I would like to better understand the root problem. I see that Cloudflare was showing a captcha to Phorge (what Phorge?). It seems it was because an user agent was missing. But aklapper said that we are already setting an user agent.
Aug 1 2024
Aug 1 2024
Jun 6 2024
Jun 6 2024
That would probably be a better User-Agent
/settings/panel/multifactor/ requires users to add a custom Name so there is likely code to adapt/reuse for /settings/panel/apitokens/
https://we.phorge.it/source/phorge/browse/master/src/applications/auth/adapter/PhutilGitHubAuthAdapter.php$57-58 uses a boring
$future->addHeader('User-Agent', __CLASS__); for this.
Jun 5 2024
Jun 5 2024
bd808 added a project to T15849: Add a "description" or "label" field for Conduit API Tokens: Feature Requests.
Apr 30 2024
Apr 30 2024
valerio.bozzolan reassigned T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML. from valerio.bozzolan to avivey.
Thanks again :) Giving right credits
Apr 15 2024
Apr 15 2024
avivey added a comment to T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..
done...
avivey added a comment to T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..
Yeah, probably. I'll try to do it tonight.
Apr 14 2024
Apr 14 2024
revi added a comment to T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..
Can this (I mean rPb445e1d80df9 )be backported into stable?
Feb 12 2024
Feb 12 2024
sirocyl added a comment to T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..
Heck yeah, changing phutil_nonempty_string() to phutil_nonempty_stringlike() there fixed the issue I had mentioned in a comment in T15737: Include information for installing required PHP version in Diviner docs.
Jan 13 2024
Jan 13 2024
PHP 8.2.14, Phorge at cc964550f945b08c64970c01a34b55314e8ef0aa
- As an admin, check that /config/edit/user.require-real-name/ is set to Make real names optional
- Log out of Phorge
- Go to http://phorge.localhost/auth/register/
- See that the Real Name field does not state Required on the right
- Enter values into the fields Username, Password, Confirm Password, Email
- Click the Register Account button
Reference: rPdfcccd4cb882a171d10ba8a5c2763dcc73654256
Jan 12 2024
Jan 12 2024
valerio.bozzolan closed T15692: Allow to see your own public revoked key as Resolved by committing rP549a26d0879c: Auth SSH Details: show Public Key (not just Type).
Sounds easy enough to implement.
Doc(s) on new extensions: I remember having a chapter under /book/contrib/, but I can't find it now. We should build a guide under T15030.
Short answer: create a new repo, make an src dir with all the code, and run arc liberate to create a "library" (including __phutil_library_init__.php and __phutil_library_map__.php), and then add the path of the extension to load-libraries in conf.json.
In T15708#15014, @avivey wrote:I'd like to see this as an Extension rather then go into the rP, just because we want to have more stuff as extensions; I think this area is abstracted enough so that it can easily be made that way.
That could be a good target as well for this, Is there docs on how extensions should be made?
I'd like to see this as an Extension rather then go into the rP, just because we want to have more stuff as extensions; I think this area is abstracted enough so that it can easily be made that way.
@valerio.bozzolan & @avivey What is the best practice for setting up the role/server check when new users attempt to auth via the oauth, you can't set limits on the oauth from discords side of view so you'd need to set them up on phorge, I've put down some ideas in the above comment.
How would i go about implementing it such that for a user to sign in with discord they need to have certain roles.
valerio.bozzolan added a comment to T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..
Can you try changing this line in your local install?
Jan 11 2024
Jan 11 2024
doommius updated the task description for T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..
doommius updated the task description for T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..
Dec 27 2023
Dec 27 2023
In addition, it seems only the owner can see their stuff here.
Dec 14 2023
Dec 14 2023
I totally agree with these additional considerations. Thanks.
Since we already show the full (public) key when editing, then I don't see a reason not to show it after it's revoked.
Dec 13 2023
Dec 13 2023
Jul 10 2023
Jul 10 2023
Jun 30 2023
Jun 30 2023
Jun 29 2023
Jun 29 2023
Jun 23 2023
Jun 23 2023
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0