Commit Graph

39 Commits (51549fe050a1aec00284d1e2599c93010bc763c2)

Author SHA1 Message Date
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Kim Alvefur 61e1281073 mod_auth_internal_hashed, mod_auth_internal_plain, mod_privacy, mod_private, mod_register, mod_vcard, mod_muc: Use module:open_store() 13 years ago
Tobias Markmann afbece2a94 mod_privacy: Drop stanzas of type groupchat, so users aren't kicked from their chatrooms when blocking specific MUC occupants. 13 years ago
Tobias Markmann b47879e180 mod_privacy: Drop stanzas of type groupchat, so users aren't kicked from their chatrooms when blocking specific MUC occupants. 13 years ago
Kim Alvefur 27dc3a5b9a mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals 13 years ago
Matthew Wild 662e978e43 mod_privacy: Remove several unused variable declarations 15 years ago
Matthew Wild 2fb6fd3f38 mod_privacy: Remove unused function, sendUnavailable 15 years ago
Florian Zeitz 246e69fb57 mod_privacy: Fix typo causing <active/> to never be send 16 years ago
Waqas Hussain d6c48d6e9e mod_privacy: Add service discovery feature. 16 years ago
Matthew Wild 7f0f97fd7f mod_privacy: Return the correct item-not-found instead of bad-request when a non-existent list is activated by the client (thanks teo) 16 years ago
Matthew Wild 5a862cb1af mod_privacy: Treat stanzas with no 'to' address as going to the user's bare JID (thanks KSid) 16 years ago
Waqas Hussain 802beadb22 mod_privacy: Workaround for a traceback. 16 years ago
Waqas Hussain d2f33e44a0 mod_privacy: Improved logging. 16 years ago
Matthew Wild 057b593a68 mod_privacy: Fix several possible tracebacks when either the contact is a host JID, or the contact isn't in your roster and you have roster group/subscription rules in place 16 years ago
Matthew Wild 7398bee580 mod_privacy: Remove validation that checks a roster group you block actually exists - it would be time-consuming on large rosters, and isn't important (or correct?) anyway. 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 4f0a93132b mod_privacy: Remove the non-working sendNeededUnavailablePresences() and the related commented code 16 years ago
Matthew Wild b683aef208 mod_privacy: Fix to correctly iterate over lists stored in new format 16 years ago
Matthew Wild c68c3797aa mod_privacy: Upgrade old privacy lists to new storage format, so they don't get lost 16 years ago
Matthew Wild 6269a3bf52 mod_privacy: Remove use of to identify unspecified privacy list 16 years ago
Matthew Wild d87ed8eae1 mod_privacy: Fix potential traceback in stanza validation, and fix some zero-based indexing :) 16 years ago
Matthew Wild 70b942fd9d mod_privacy: Don't store the privacy lists as an array, but as a map... faster and less code 16 years ago
Matthew Wild 192860d916 mod_privacy: Rename from_user/to_user flags to is_from_user/is_to_user for clarity 16 years ago
Matthew Wild 76550b9ad1 mod_privacy: A handful of logging fixes 16 years ago
Matthew Wild 3dadf10b2e mod_privacy: Remove the giant if/end block that was really causing problems - skipping stanzas with no to/from (like presence broadcast). Also optimised the code a *lot*, these changes untested at the moment though. 16 years ago
Matthew Wild ee7f33faec Backed out changeset c4240df1b412 (or this) 16 years ago
Matthew Wild 01fd496348 Backed out changeset a4f9ed3f912e (you didn't see this) 16 years ago
Matthew Wild 5a9c024084 mod_privacy: ...and no 'to' for presence implies an outgoing broadcast 16 years ago
Matthew Wild 2372500690 mod_privacy: Mmph, no 'from' == from local 16 years ago
Matthew Wild 2c82900afc mod_privacy: Fix repeated presence-in (should be presence-out) - this stops the blocking of legitimate inbound presence, and inbound/outbound iqs and messages in Gajim's invisible mode (maybe I can sleep now) 16 years ago
Matthew Wild 5599c0b0e8 mod_privacy: Trailing whitespace (I can't sleep) 16 years ago
Waqas Hussain 9f75018162 mod_privacy: Removed a useless 'require' within a function. 16 years ago
Waqas Hussain 0808c70c4e mod_privacy: Cleaned up code. 16 years ago
Waqas Hussain ea21601ba0 mod_privacy: Reduced a function. 16 years ago
Waqas Hussain f580487004 mod_privacy: Fixed global access. 16 years ago
Waqas Hussain 5f166398e8 mod_privacy: Imported from prosody-modules. 16 years ago
Matthew Wild e45610ce6e Add copyright header to those files missing one 17 years ago
Waqas Hussain 558903ff51 mod_privacy: Initial commit 17 years ago