24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-10 21:47:01 +02:00
xmpp.chapril.org-ejabberd/src
Holger Weiss 58c8fc5770 mod_mam: Limit result set page size
If the client doesn't specify a maximum number of messages to retrieve
per page, set a limit of 50 messages.  If the client specifies a limit
larger than 250, cap the number to 250 messages.

These limits aren't enforced for MAM v0.2 requests though, as that
version of the XEP doesn't require clients to support RSM.  The newer
revisions say that "a server MAY place a reasonable limit on how many
stanzas may be pushed to a client in one request.  Whether or not the
client query included a <set/> element, the server MAY simply return its
limited results, modifying the <set/> element it returns appropriately."
2016-01-14 02:12:28 +01:00
..
acl.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
adhoc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
cyrsasl_anonymous.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
cyrsasl_digest.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
cyrsasl_oauth.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
cyrsasl_plain.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
cyrsasl_scram.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
cyrsasl.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_admin.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_app.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_auth_anonymous.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_auth_external.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_auth_internal.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_auth_ldap.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_auth_odbc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_auth_pam.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_auth_riak.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_auth.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_c2s_config.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_c2s.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_captcha.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_cluster.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_commands_doc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_commands.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_config.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_ctl.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_frontend_socket.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_hooks.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_http_bind.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_http_ws.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_http.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_idna.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_listener.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_local.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_logger.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_node_groups.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_oauth.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_odbc_sup.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_odbc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_piefxis.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_rdbms.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_receiver.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_regexp.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_riak_sup.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_riak.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_router_multicast.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_router.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_s2s_in.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_s2s_out.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_s2s.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_service.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_sm_mnesia.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_sm_odbc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_sm_redis.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_sm.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_socket.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_stun.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_sup.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_system_monitor.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_tmp_sup.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_update.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_web_admin.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_web.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_websocket.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd_xmlrpc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejabberd.app.src.in Switch to rebar build tool 2013-06-13 11:11:02 +02:00
ejabberd.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
ejd2odbc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
eldap_filter_yecc.yrl Set dnAttributes on when it's requested by a filter 2014-07-29 15:22:54 -03:00
eldap_filter.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
eldap_pool.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
eldap_utils.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
eldap.erl cosmetic cleanup 2015-10-07 14:18:38 +02:00
ELDAPv3.asn1db Do not generate LDAP's ASN.1 code when compiling ejabberd. 2013-06-22 03:27:59 +10:00
ELDAPv3.erl Do not generate LDAP's ASN.1 code when compiling ejabberd. 2013-06-22 03:27:59 +10:00
ext_mod.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
extauth.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
gen_iq_handler.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
gen_mod.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
gen_pubsub_node.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
gen_pubsub_nodetree.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
jd2ejd.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
jid.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
jlib.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_adhoc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_admin_extra.erl mod_admin_extra: Replace deprecated function calls 2016-01-02 21:27:48 +01:00
mod_announce.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_blocking.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_caps.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_carboncopy.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_client_state.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_configure.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_configure2.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_disco.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_echo.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_fail2ban.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_http_api.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_http_bind.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_http_fileserver.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_http_upload_quota.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_http_upload.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_ip_blacklist.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_irc_connection.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_irc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_last.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_mam.erl mod_mam: Limit result set page size 2016-01-14 02:12:28 +01:00
mod_metrics.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_muc_admin.erl mod_muc_admin: Allow for setting MAM option 2016-01-02 20:57:01 +01:00
mod_muc_log.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_muc_room.erl mod_mam: Support XEP-0313 v0.2 MUC archive queries 2016-01-14 00:58:48 +01:00
mod_muc.erl mod_mam: Support XEP-0313 v0.2 MUC archive queries 2016-01-14 00:58:48 +01:00
mod_multicast.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_offline.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_ping.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_pres_counter.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_privacy.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_private.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_proxy65_lib.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_proxy65_service.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_proxy65_sm.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_proxy65_stream.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_proxy65.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_pubsub.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_register_web.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_register.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_roster.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_service_log.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_shared_roster_ldap.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_shared_roster.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_sic.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_sip_proxy.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_sip_registrar.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_sip.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_stats.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_time.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_vcard_ldap.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_vcard_xupdate.erl Add config validation at startup 2015-06-01 15:38:27 +03:00
mod_vcard.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
mod_version.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_buddy.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_club.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_dag.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_dispatch.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_flat_odbc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_flat.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_hometree_odbc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_hometree.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_mb.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_online.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_pep_odbc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_pep.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_private.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
node_public.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
nodetree_dag.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
nodetree_tree_odbc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
nodetree_tree.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
nodetree_virtual.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
odbc_queries.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
pubsub_db_odbc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
pubsub_index.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
pubsub_migrate.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
pubsub_subscription_odbc.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
pubsub_subscription.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
randoms.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
scram.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
shaper.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
str.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
translate.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00
win32_dns.erl Update copyright to 2016 (#901) 2016-01-13 12:29:14 +01:00