diff options
-rw-r--r-- | CHANGELOG | 4 | ||||
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | RELEASE_GUIDE.md | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | docs/profanity.1 | 10 | ||||
-rw-r--r-- | profanity.spec | 2 | ||||
-rw-r--r-- | src/command/cmd_defs.c | 2 | ||||
-rw-r--r-- | src/common.c | 2 | ||||
-rw-r--r-- | src/ui/console.c | 2 | ||||
-rw-r--r-- | src/xmpp/stanza.c | 2 | ||||
-rw-r--r-- | tests/functionaltests/proftest.c | 2 | ||||
-rw-r--r-- | tests/functionaltests/test_connect.c | 2 | ||||
-rw-r--r-- | tests/functionaltests/test_muc.c | 28 | ||||
-rw-r--r-- | tests/functionaltests/test_ping.c | 12 | ||||
-rw-r--r-- | tests/functionaltests/test_presence.c | 30 | ||||
-rw-r--r-- | tests/functionaltests/test_receipts.c | 4 |
17 files changed, 60 insertions, 60 deletions
diff --git a/CHANGELOG b/CHANGELOG index c7703090..03bfb299 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -19,7 +19,7 @@ - Support basic ad-hoc commands(xep-0050) (/command) - Add option to trust server's certificate (/connect, /account) - Add possibility to close windows via prof_win_close inputrc hook -- Bug fixes: https://github.com/boothj5/profanity/milestone/16?closed=1 +- Bug fixes: https://github.com/profanity-im/profanity/milestone/16?closed=1 0.5.1 ===== @@ -33,7 +33,7 @@ - Add encryption settings functions to plugins api - Allow plugins to block message sending on pre message send hooks - Fix CVE-2017-5592 (incorrect implementation of Message Carbons allowing social engineering attacks) -- Bug fixes: https://github.com/boothj5/profanity/milestone/15?closed=1 +- Bug fixes: https://github.com/profanity-im/profanity/milestone/15?closed=1 0.5.0 ===== diff --git a/Makefile.am b/Makefile.am index f4cbfd50..832ff045 100644 --- a/Makefile.am +++ b/Makefile.am @@ -248,9 +248,9 @@ tests_unittests_unittests_SOURCES = $(unittest_sources) tests_unittests_unittests_LDADD = -lcmocka # Functional test were commented out because of: -# https://github.com/boothj5/profanity/pull/1010 +# https://github.com/profanity-im/profanity/pull/1010 # An issue was raised for stabber: -# https://github.com/boothj5/stabber/issues/5 +# https://github.com/profanity-im/stabber/issues/5 # Once this issue is resolved functional tests should be enabled again # #if HAVE_STABBER diff --git a/README.md b/README.md index 1bbf8306..43118a6f 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,19 @@ -Profanity [![Build Status](https://travis-ci.org/boothj5/profanity.png?branch=master)](https://travis-ci.org/boothj5/profanity) +Profanity [![Build Status](https://api.travis-ci.org/profanity-im/profanity.png?branch=master)](https://travis-ci.org/profanity-im/profanity) ========= Profanity is a console based XMPP client inspired by [Irssi](http://www.irssi.org/), -![alt tag](http://www.profanity.im/images/prof-1.png) +![alt tag](https://profanity-im.github.io/images/prof-1.png) -See the [User Guide](http://www.profanity.im/userguide.html) for information on installing and using Profanity. +See the [User Guide](https://profanity-im.github.io/userguide.html) for information on installing and using Profanity. Links ----- -Homepage: http://www.profanity.im +Homepage: https://profanity-im.github.io/ Mailing List: https://groups.google.com/forum/#!forum/profanitydev MUC: profanity@rooms.dismail.de -Plugins repository: https://github.com/boothj5/profanity-plugins +Plugins repository: https://github.com/profanity-im/profanity-plugins diff --git a/RELEASE_GUIDE.md b/RELEASE_GUIDE.md index 90595583..d39eee41 100644 --- a/RELEASE_GUIDE.md +++ b/RELEASE_GUIDE.md @@ -68,5 +68,5 @@ PACKAGE_STATUS="development" ## Updating website * Make changes to the git repo incuding uploading the new artefacts at: - https://github.com/boothj5/www_profanity_im + https://github.com/profanity-im/profanity-im.github.io * Email boothj5web@gmail.com to get them published to the website diff --git a/configure.ac b/configure.ac index 4f6a6790..caeb9886 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,7 @@ AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_HEADERS([src/config.h]) AM_INIT_AUTOMAKE([foreign subdir-objects]) -# TODO Introduce with Ruby plugins, see https://github.com/boothj5/profanity/issues/779 +# TODO Introduce with Ruby plugins, see https://github.com/profanity-im/profanity/issues/779 #AX_PREFIX_CONFIG_H([src/prof_config.h], [PROF], [src/config.h]) ### Checks for programs. diff --git a/docs/profanity.1 b/docs/profanity.1 index fe91aba5..5900c79e 100644 --- a/docs/profanity.1 +++ b/docs/profanity.1 @@ -11,7 +11,7 @@ on having a simple and configurable command driven UI, see the homepage at: .br .PP -<http://www.profanity.im> +<https://profanity-im.github.io> .SH OPTIONS .TP .BI "\-v, \-\-version" @@ -30,7 +30,7 @@ Set the logging level, .I LEVEL may be set to DEBUG, INFO (the default), WARN or ERROR. .SH USING PROFANITY -The user guide can be found at <http://www.profanity.im/userguide.html>. +The user guide can be found at <https://profanity-im.github.io/userguide.html>. .SH SEE ALSO .B Profanity itself has a lot of built\-in help. Check the /help command for more information. @@ -40,12 +40,12 @@ Configuration for .B Profanity is stored in .I $XDG_CONFIG_HOME/profanity/profrc -, details on commands for configuring Profanity can be found at <http://www.profanity.im/reference.html>. +, details on commands for configuring Profanity can be found at <https://profanity-im.github.io/reference.html>. .SH BUGS Bugs can either be reported by raising an issue at the Github issue tracker: .br .PP -<https://github.com/boothj5/profanity/issues> +<https://github.com/profanity-im/profanity/issues> .br .PP or to the mailing list at: @@ -68,4 +68,4 @@ There is NO WARRANTY, to the extent permitted by law. .B Profanity was written by James Booth .B <boothj5web@gmail.com> -with many contributions from others, see the full list at: <https://github.com/boothj5/profanity/graphs/contributors> +with many contributions from others, see the full list at: <https://github.com/profanity-im/profanity/graphs/contributors> diff --git a/profanity.spec b/profanity.spec index 66d04ab7..9d5de186 100644 --- a/profanity.spec +++ b/profanity.spec @@ -5,7 +5,7 @@ Summary: A console based XMPP client Group: Application/System License: GPL -URL: http://www.profanity.im/ +URL: https://profanity-im.github.io/ Source0: %{name}-%{version}.tar.gz BuildRequires: libstrophe-devel diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 6a1cb006..c6561949 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -1037,7 +1037,7 @@ static struct cmd_t command_defs[] = CMD_ARGS( { "<url>", "The url to make tiny." }) CMD_EXAMPLES( - "Example: /tiny http://www.profanity.im") + "Example: /tiny https://profanity-im.github.io/") }, { "/who", diff --git a/src/common.c b/src/common.c index 3e1b51b5..5aed9295 100644 --- a/src/common.c +++ b/src/common.c @@ -269,7 +269,7 @@ file_getline(FILE *stream) char* release_get_latest(void) { - char *url = "http://www.profanity.im/profanity_version.txt"; + char *url = "https://profanity-im.github.io/profanity_version.txt"; CURL *handle = curl_easy_init(); struct curl_data_t output; diff --git a/src/ui/console.c b/src/ui/console.c index af51465b..c03a8bb7 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -442,7 +442,7 @@ cons_check_version(gboolean not_available_msg) if (relase_valid) { if (release_is_new(latest_release)) { win_println(console, THEME_DEFAULT, '-', "A new version of Profanity is available: %s", latest_release); - win_println(console, THEME_DEFAULT, '-', "Check <http://www.profanity.im> for details."); + win_println(console, THEME_DEFAULT, '-', "Check <https://profanity-im.github.io> for details."); win_println(console, THEME_DEFAULT, '-', ""); } else { if (not_available_msg) { diff --git a/src/xmpp/stanza.c b/src/xmpp/stanza.c index 615de44f..affb6ff4 100644 --- a/src/xmpp/stanza.c +++ b/src/xmpp/stanza.c @@ -1954,7 +1954,7 @@ stanza_attach_caps(xmpp_ctx_t *const ctx, xmpp_stanza_t *const presence) char *sha1 = caps_get_my_sha1(ctx); xmpp_stanza_set_attribute(caps, STANZA_ATTR_HASH, "sha-1"); - xmpp_stanza_set_attribute(caps, STANZA_ATTR_NODE, "http://www.profanity.im"); + xmpp_stanza_set_attribute(caps, STANZA_ATTR_NODE, "http://profanity-im.github.io"); xmpp_stanza_set_attribute(caps, STANZA_ATTR_VER, sha1); xmpp_stanza_add_child(presence, caps); xmpp_stanza_release(caps); diff --git a/tests/functionaltests/proftest.c b/tests/functionaltests/proftest.c index 9d5c2fe2..50dbffd2 100644 --- a/tests/functionaltests/proftest.c +++ b/tests/functionaltests/proftest.c @@ -244,7 +244,7 @@ prof_connect_with_roster(char *roster) stbbr_for_id("prof_presence_1", "<presence id='prof_presence_1' lang='en' to='stabber@localhost/profanity' from='stabber@localhost/profanity'>" "<priority>0</priority>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='f8mrtdyAmhnj8Ca+630bThSL718='/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io/' ver='f8mrtdyAmhnj8Ca+630bThSL718='/>" "</presence>" ); diff --git a/tests/functionaltests/test_connect.c b/tests/functionaltests/test_connect.c index 08d60412..e7dae21e 100644 --- a/tests/functionaltests/test_connect.c +++ b/tests/functionaltests/test_connect.c @@ -28,7 +28,7 @@ connect_jid_sends_presence_after_receiving_roster(void **state) assert_true(stbbr_received( "<presence id='*'>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); } diff --git a/tests/functionaltests/test_muc.c b/tests/functionaltests/test_muc.c index 3aac9988..7727cb28 100644 --- a/tests/functionaltests/test_muc.c +++ b/tests/functionaltests/test_muc.c @@ -21,7 +21,7 @@ sends_room_join(void **state) assert_true(stbbr_last_received( "<presence id='*' to='testroom@conference.localhost/stabber'>" "<x xmlns='http://jabber.org/protocol/muc'/>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); } @@ -36,7 +36,7 @@ sends_room_join_with_nick(void **state) assert_true(stbbr_last_received( "<presence id='*' to='testroom@conference.localhost/testnick'>" "<x xmlns='http://jabber.org/protocol/muc'/>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); } @@ -53,7 +53,7 @@ sends_room_join_with_password(void **state) "<x xmlns='http://jabber.org/protocol/muc'>" "<password>testpassword</password>" "</x>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); } @@ -70,7 +70,7 @@ sends_room_join_with_nick_and_password(void **state) "<x xmlns='http://jabber.org/protocol/muc'>" "<password>testpassword</password>" "</x>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); } @@ -82,7 +82,7 @@ shows_role_and_affiliation_on_join(void **state) stbbr_for_id("prof_join_4", "<presence id='prof_join_4' lang='en' to='stabber@localhost/profanity' from='testroom@conference.localhost/stabber'>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='*'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='*'/>" "<x xmlns='http://jabber.org/protocol/muc#user'>" "<item role='participant' jid='stabber@localhost/profanity' affiliation='none'/>" "</x>" @@ -102,7 +102,7 @@ shows_subject_on_join(void **state) stbbr_for_id("prof_join_4", "<presence id='prof_join_4' lang='en' to='stabber@localhost/profanity' from='testroom@conference.localhost/stabber'>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='*'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='*'/>" "<x xmlns='http://jabber.org/protocol/muc#user'>" "<item role='participant' jid='stabber@localhost/profanity' affiliation='none'/>" "</x>" @@ -130,7 +130,7 @@ shows_history_message(void **state) stbbr_for_id("prof_join_4", "<presence id='prof_join_4' lang='en' to='stabber@localhost/profanity' from='testroom@conference.localhost/stabber'>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='*'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='*'/>" "<x xmlns='http://jabber.org/protocol/muc#user'>" "<item role='participant' jid='stabber@localhost/profanity' affiliation='none'/>" "</x>" @@ -159,7 +159,7 @@ shows_occupant_join(void **state) stbbr_for_id("prof_join_4", "<presence id='prof_join_4' lang='en' to='stabber@localhost/profanity' from='testroom@conference.localhost/stabber'>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='*'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='*'/>" "<x xmlns='http://jabber.org/protocol/muc#user'>" "<item role='participant' jid='stabber@localhost/profanity' affiliation='none'/>" "</x>" @@ -188,7 +188,7 @@ shows_message(void **state) stbbr_for_id("prof_join_4", "<presence id='prof_join_4' lang='en' to='stabber@localhost/profanity' from='testroom@conference.localhost/stabber'>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='*'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='*'/>" "<x xmlns='http://jabber.org/protocol/muc#user'>" "<item role='participant' jid='stabber@localhost/profanity' affiliation='none'/>" "</x>" @@ -215,7 +215,7 @@ shows_me_message_from_occupant(void **state) stbbr_for_id("prof_join_4", "<presence id='prof_join_4' lang='en' to='stabber@localhost/profanity' from='testroom@conference.localhost/stabber'>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='*'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='*'/>" "<x xmlns='http://jabber.org/protocol/muc#user'>" "<item role='participant' jid='stabber@localhost/profanity' affiliation='none'/>" "</x>" @@ -242,7 +242,7 @@ shows_me_message_from_self(void **state) stbbr_for_id("prof_join_4", "<presence id='prof_join_4' lang='en' to='stabber@localhost/profanity' from='testroom@conference.localhost/stabber'>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='*'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='*'/>" "<x xmlns='http://jabber.org/protocol/muc#user'>" "<item role='participant' jid='stabber@localhost/profanity' affiliation='none'/>" "</x>" @@ -269,7 +269,7 @@ shows_all_messages_in_console_when_window_not_focussed(void **state) stbbr_for_id("prof_join_4", "<presence id='prof_join_4' lang='en' to='stabber@localhost/profanity' from='testroom@conference.localhost/stabber'>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='*'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='*'/>" "<x xmlns='http://jabber.org/protocol/muc#user'>" "<item role='participant' jid='stabber@localhost/profanity' affiliation='none'/>" "</x>" @@ -310,7 +310,7 @@ shows_first_message_in_console_when_window_not_focussed(void **state) stbbr_for_id("prof_join_4", "<presence id='prof_join_4' lang='en' to='stabber@localhost/profanity' from='testroom@conference.localhost/stabber'>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='*'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='*'/>" "<x xmlns='http://jabber.org/protocol/muc#user'>" "<item role='participant' jid='stabber@localhost/profanity' affiliation='none'/>" "</x>" @@ -356,7 +356,7 @@ shows_no_message_in_console_when_window_not_focussed(void **state) stbbr_for_id("prof_join_4", "<presence id='prof_join_4' lang='en' to='stabber@localhost/profanity' from='testroom@conference.localhost/stabber'>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='*'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='*'/>" "<x xmlns='http://jabber.org/protocol/muc#user'>" "<item role='participant' jid='stabber@localhost/profanity' affiliation='none'/>" "</x>" diff --git a/tests/functionaltests/test_ping.c b/tests/functionaltests/test_ping.c index 5bb937b6..834e4447 100644 --- a/tests/functionaltests/test_ping.c +++ b/tests/functionaltests/test_ping.c @@ -86,7 +86,7 @@ void ping_jid(void **state) { stbbr_for_id("prof_caps_4", "<iq id='prof_caps_4' to='stabber@localhost/profanity' type='result' from='buddy1@localhost/mobile'>" - "<query xmlns='http://jabber.org/protocol/disco#info' node='http://www.profanity.im#LpT2xs3nun7jC2sq4gg3WRDQFZ4='>" + "<query xmlns='http://jabber.org/protocol/disco#info' node='http://profanity-im.github.io#LpT2xs3nun7jC2sq4gg3WRDQFZ4='>" "<identity category='client' type='console' name='Profanity0.6.0'/>" "<feature var='urn:xmpp:ping'/>" "<feature var='http://jabber.org/protocol/disco#info'/>" @@ -104,7 +104,7 @@ void ping_jid(void **state) "<c " "hash='sha-1' " "xmlns='http://jabber.org/protocol/caps' " - "node='http://www.profanity.im' " + "node='http://profanity-im.github.io' " "ver='LpT2xs3nun7jC2sq4gg3WRDQFZ4='" "/>" "</presence>" @@ -113,7 +113,7 @@ void ping_jid(void **state) assert_true(stbbr_received( "<iq id='prof_caps_4' to='buddy1@localhost/mobile' type='get'>" - "<query xmlns='http://jabber.org/protocol/disco#info' node='http://www.profanity.im#LpT2xs3nun7jC2sq4gg3WRDQFZ4='/>" + "<query xmlns='http://jabber.org/protocol/disco#info' node='http://profanity-im.github.io#LpT2xs3nun7jC2sq4gg3WRDQFZ4='/>" "</iq>" )); @@ -135,7 +135,7 @@ void ping_jid_not_supported(void **state) { stbbr_for_id("prof_caps_4", "<iq id='prof_caps_4' to='stabber@localhost/profanity' type='result' from='buddy1@localhost/mobile'>" - "<query xmlns='http://jabber.org/protocol/disco#info' node='http://www.profanity.im#LpT2xs3nun7jC2sq4gg3WRDQFZ4='>" + "<query xmlns='http://jabber.org/protocol/disco#info' node='http://profanity-im.github.io#LpT2xs3nun7jC2sq4gg3WRDQFZ4='>" "<identity category='client' type='console' name='Profanity0.6.0'/>" "<feature var='http://jabber.org/protocol/disco#info'/>" "<feature var='http://jabber.org/protocol/caps'/>" @@ -152,7 +152,7 @@ void ping_jid_not_supported(void **state) "<c " "hash='sha-1' " "xmlns='http://jabber.org/protocol/caps' " - "node='http://www.profanity.im' " + "node='http://profanity-im.github.io' " "ver='LpT2xs3nun7jC2sq4gg3WRDQFZ4='" "/>" "</presence>" @@ -161,7 +161,7 @@ void ping_jid_not_supported(void **state) assert_true(stbbr_received( "<iq id='prof_caps_4' to='buddy1@localhost/mobile' type='get'>" - "<query xmlns='http://jabber.org/protocol/disco#info' node='http://www.profanity.im#LpT2xs3nun7jC2sq4gg3WRDQFZ4='/>" + "<query xmlns='http://jabber.org/protocol/disco#info' node='http://profanity-im.github.io#LpT2xs3nun7jC2sq4gg3WRDQFZ4='/>" "</iq>" )); diff --git a/tests/functionaltests/test_presence.c b/tests/functionaltests/test_presence.c index bf0171a7..91bd2644 100644 --- a/tests/functionaltests/test_presence.c +++ b/tests/functionaltests/test_presence.c @@ -20,7 +20,7 @@ presence_online(void **state) assert_true(stbbr_received( "<presence id='prof_presence_3'>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); @@ -37,7 +37,7 @@ presence_online_with_message(void **state) assert_true(stbbr_received( "<presence id='prof_presence_4'>" "<status>Hi there</status>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); @@ -54,7 +54,7 @@ presence_away(void **state) assert_true(stbbr_received( "<presence id='prof_presence_4'>" "<show>away</show>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); @@ -72,7 +72,7 @@ presence_away_with_message(void **state) "<presence id='prof_presence_4'>" "<show>away</show>" "<status>I'm not here for a bit</status>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); @@ -89,7 +89,7 @@ presence_xa(void **state) assert_true(stbbr_received( "<presence id='prof_presence_4'>" "<show>xa</show>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); @@ -107,7 +107,7 @@ presence_xa_with_message(void **state) "<presence id='prof_presence_4'>" "<show>xa</show>" "<status>Gone to the shops</status>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); @@ -124,7 +124,7 @@ presence_dnd(void **state) assert_true(stbbr_received( "<presence id='prof_presence_4'>" "<show>dnd</show>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); @@ -142,7 +142,7 @@ presence_dnd_with_message(void **state) "<presence id='prof_presence_4'>" "<show>dnd</show>" "<status>Working</status>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); @@ -159,7 +159,7 @@ presence_chat(void **state) assert_true(stbbr_received( "<presence id='prof_presence_4'>" "<show>chat</show>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); @@ -177,7 +177,7 @@ presence_chat_with_message(void **state) "<presence id='prof_presence_4'>" "<show>chat</show>" "<status>Free to talk</status>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); @@ -194,7 +194,7 @@ presence_set_priority(void **state) assert_true(stbbr_received( "<presence id='prof_presence_4'>" "<priority>25</priority>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); @@ -210,7 +210,7 @@ presence_includes_priority(void **state) assert_true(stbbr_received( "<presence id='prof_presence_4'>" "<priority>25</priority>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); assert_true(prof_output_exact("Priority set to 25.")); @@ -221,7 +221,7 @@ presence_includes_priority(void **state) "<priority>25</priority>" "<show>chat</show>" "<status>Free to talk</status>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); assert_true(prof_output_exact("Status set to chat (priority 25), \"Free to talk\".")); @@ -237,7 +237,7 @@ presence_keeps_status(void **state) "<presence id='prof_presence_4'>" "<show>chat</show>" "<status>Free to talk</status>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); assert_true(prof_output_exact("Status set to chat (priority 0), \"Free to talk\".")); @@ -248,7 +248,7 @@ presence_keeps_status(void **state) "<show>chat</show>" "<status>Free to talk</status>" "<priority>25</priority>" - "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>" + "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://profanity-im.github.io'/>" "</presence>" )); assert_true(prof_output_exact("Priority set to 25.")); diff --git a/tests/functionaltests/test_receipts.c b/tests/functionaltests/test_receipts.c index 59333a87..59054ee8 100644 --- a/tests/functionaltests/test_receipts.c +++ b/tests/functionaltests/test_receipts.c @@ -36,7 +36,7 @@ send_receipt_request(void **state) stbbr_for_id("prof_caps_4", "<iq from='buddy1@localhost/laptop' to='stabber@localhost' id='prof_caps_4' type='result'>" - "<query xmlns='http://jabber.org/protocol/disco#info' node='http://www.profanity.im#hAkb1xZdJV9BQpgGNw8zG5Xsals='>" + "<query xmlns='http://jabber.org/protocol/disco#info' node='http://profanity-im.github.io#hAkb1xZdJV9BQpgGNw8zG5Xsals='>" "<identity category='client' name='Profanity 0.5.0' type='console'/>" "<feature var='urn:xmpp:receipts'/>" "</query>" @@ -47,7 +47,7 @@ send_receipt_request(void **state) "<presence to='stabber@localhost' from='buddy1@localhost/laptop'>" "<priority>15</priority>" "<status>My status</status>" - "<c hash='sha-256' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='hAkb1xZdJV9BQpgGNw8zG5Xsals='/>" + "<c hash='sha-256' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='hAkb1xZdJV9BQpgGNw8zG5Xsals='/>" "</presence>" ); |