summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-10-11Merge branch 'refactor-change-password' into 'develop'feld
LDAP: permit password changing See merge request pleroma/pleroma!4285
2024-10-11Merge branch 'remote-report-policy' into 'develop'feld
Remote report policy See merge request pleroma/pleroma!4280
2024-10-11Merge branch 'tusooa/3331-fix-incoming-block' into 'develop'feld
Fix incoming Blocks being rejected Closes #3331 See merge request pleroma/pleroma!4282
2024-10-11Reorganize the LDAP moduleMark Felder
2024-10-11Add change_password/3 to LDAP moduleMark Felder
2024-10-11Support password changes for LDAP auth backendMark Felder
2024-10-11Refactor password changes to go through Pleroma.Web.Auth so they can be ↵Mark Felder
supported by the different auth backends
2024-10-10Merge branch 'poll-refresh' into 'develop'feld
Refactor Poll Refreshing See merge request pleroma/pleroma!4278
2024-10-09Skip the final refresh job if the activity is localMark Felder
2024-10-09Merge branch 'hashtag-feeds-restricted' into 'develop'marcin mikołajczak
Repesct :restrict_unauthenticated for hashtag rss/atom feeds See merge request pleroma/pleroma!4266
2024-10-08Fix incoming Blocks being rejectedtusooa
2024-10-06Merge branch 'profile-image-descriptions' into 'develop'marcin mikołajczak
Federate avatar/header descriptions See merge request pleroma/pleroma!4264
2024-10-03RemoteReportPolicy: Fix third-party report detectionMint
2024-10-03mix formatAlex Gleason
2024-10-03RemoteReportPolicy: add `reject_third_party` optionMint
2024-10-03RemoteReportPolicy: add `:reject_all` option, fix testsAlex Gleason
2024-10-03Add RemoteReportPolicy to reject reports without enough informationAlex Gleason
2024-10-03Increase poll refresh interval to 120 secondsMark Felder
2024-10-03Remove pattern that can never matchMark Felder
2024-10-03Check if a refresh is permitted by comparing timestamps before attempting to ↵Mark Felder
insert an Oban job It's better to avoid inserting an Oban job that will just be rejected if it's not expensive to check.
2024-10-02Do not attempt to schedule poll refresh jobs for local activitiesMark Felder
2024-09-30CredoMark Felder
2024-09-30Rename assignment for consistencyMark Felder
2024-09-30Schedule a final poll refresh before streaming out the notificationsMark Felder
2024-09-30Skip refetching poll results if the object's updated_at is newer than the ↵Mark Felder
poll closed timestamp
2024-09-30Add Oban job to handle poll refreshing and stream out the updateMark Felder
2024-09-30Remove Object.get_by_id_and_maybe_refetch/2Mark Felder
This was only used for poll refreshing and is not a good approach to the problem.
2024-09-21MRF.SimplePolicy: Add id_filter/1Haelwenn (lanodan) Monnier
2024-09-21MRF.DropPolicy: Add id_filter/1Haelwenn (lanodan) Monnier
2024-09-21Object.Fetcher: Hook to MRF.id_filterHaelwenn (lanodan) Monnier
2024-09-21MRF: Add filtering against AP idHaelwenn (lanodan) Monnier
2024-09-18LDAP: fix compile warningMark Felder
Sometimes the compile will emit the following warning, so we'll just avoid it by making it call a function in the LDAP module which will never have this problem. warning: :GenServer.call/2 is undefined (module :GenServer is not available or is yet to be defined)
2024-09-17Improve matching on bind errorsMark Felder
2024-09-17Change :connection to :handle to match upstream nomenclatureMark Felder
2024-09-17Reduce LDAP timeoutsMark Felder
10 seconds is way too long for any login attempt or search result. LDAP should always be fast.
2024-09-17Make the email attribute configurableMark Felder
While here, fix the System.get_env usage to use the normal fallback value method and improve the UID label description
2024-09-17Link the eldap connection processMark Felder
Ensure if LDAP GenServer crashes it gets cleaned up, and we should crash and restart if somehow the eldap connection process crashes unexpectedly as we can't seem to receive any DOWN messages from it, etc.
2024-09-17Fix return value when not doing STARTTLSMark Felder
2024-09-17Only close connection if it is not nilMark Felder
2024-09-17Ensure :ssl is started before we attempt to make the LDAP connectionMark Felder
2024-09-17Require a reboot if LDAP configuration changesMark Felder
2024-09-17Catchall for when LDAP is not enabledMark Felder
2024-09-17CredoMark Felder
2024-09-17Pleroma.LDAPMark Felder
This adds a GenServer which will keep an LDAP connection open and auto reconnect on failure with a 5 second wait between retries. Another benefit is this prevents parsing the Root CAs for every login attempt as we only need to do it once per connection.
2024-09-16Merge remote-tracking branch 'origin/develop' into retry-testsMark Felder
2024-09-16Merge branch 'ldap-tls' into 'develop'feld
LDAP: permit overriding the CA root, improve SSL/TLS See merge request pleroma/pleroma!4265
2024-09-16Reapply "Custom mix task to retry failed tests once in CI pipeline"Mark Felder
This reverts commit b281ad06de2de331450a5e319e3ba497071d4197.
2024-09-16Repesct :restrict_unauthenticated for hashtag rss/atom feedsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-15Retain the try do so an LDAP failure can fall back to local database.Mark Felder
This fixes tests but the automatic fallback may not be well documented behavior.
2024-09-15Support implicit TLS connectionsMark Felder
Update docs to clarify that the :ssl option is also for modern TLS, but the :tls option is only for STARTTLS These options may benefit from being renamed but they match upstream terminology.