Skip to content

Releases: calref/cadence

1.11.0 - Nightmare

18 May 19:53
1.11.0-calref
Compare
Choose a tag to compare

This release fixes a long list of bugs, adds support for several XMPP features, improves markup rendering in the interface, and adds eleven new ponicons.

Features

  • cburschka#283: Added eleven new ponicons: Three for Spitfire (:halp:, :sfsmile:,
    :sfwtf:) and eight for Vinyl Scratch (:vsbeam:, :vsblush:, :vscry:,
    :vsdrunk:, :vsfacehoof:, :vsgrin:, :vssmug:, :vswhoa:) and some aliases.
  • cburschka#286: Show room ID in hover text.
  • cburschka#287: Added markup (context menus, flairs, etc.) to JIDs.
  • cburschka#289: Smarter URL parsing, allowing closing parentheses at the end of URLs.
  • cburschka#290: Added XEP-0202 (Entity Time) support for incoming queries.
  • cburschka#291: Added XEP-0030 (Service Discovery) support for incoming queries.
  • cburschka#303: Added support for /ping and /ping without arguments
  • cburschka#304: Added XEP-0092 (Software Version) support for incoming queries.
  • cburschka#305: Added support for /version <nick|jid>.
  • cburschka#314: Added XEP-0224 (Attention) support for incoming messages.
  • cburschka#317: Added XEP-0115 (Entity Capabilities) support.
  • cburschka#320: Added websocket support in ./configure and README
  • cburschka#324: Added a visual.format.button() renderer.
  • cburschka#336: Added support for an offline welcome message.
  • cburschka#343: Allow explicitly choosing emoticon packs with ./configure --packs
  • cburschka#349: Attributing internal messages to a "bot" is now optional (default: off).

Major changes

  • cburschka#234: Rewrote text formatting to use DOM objects.
  • cburschka#292: Rewrote target JID generation, add xmpp.jid() function.
  • cburschka#307: Remove translateable strings from static markup, load them dynamically.
  • Switched cadence to the MIT license (formerly GPL3+).

Bugfixes

  • cburschka#285: Reversed logic so that internal messages are exempt from truncation.
  • cburschka#293: Fixed several crashes from non-occupant messages (with undefined nicks)
  • cburschka#294: Now encoding/decoding window.location.hash values.
  • cburschka#295: Fixed off-by-one error in command autocompletion.
  • cburschka#297: Fixed a bug that made ping/time support only work once.
  • cburschka#299: When escaping forbidden markup elements, leave their contents intact.
  • cburschka#300: Now wrapping HTML log output (/save html) in document tags.
  • cburschka#301: Now escaping apostrophe characters as ' in format.plain()
  • cburschka#302: Now only calling eventIQCallback on "get" type .
  • cburschka#309: Blocked bare JID in /ping or /version
  • cburschka#310: Added an error when sending messages to non-existant users or domains.
  • cburschka#311: Stopped formatting invalid JIDs as JIDS in the error message.
  • cburschka#313: Stopped showing message stanzas that have no .
  • cburschka#315: Fixed a crash from non-MUC offline message delivery.
  • cburschka#316: Stopped autojoining an empty room with a "#" URL fragment.
  • cburschka#318: Fixed a markup bug (from cburschka#234) in ui.notifyDesktop.
  • cburschka#319: Improved desktop notifications for direct messages.
  • cburschka#321: Fixed an undefined variable error in visual.formatText().
  • cburschka#322: Now showing error messages if the MUC server is down.
  • cburschka#330: Fixed a roster entry bug (resulting from cburschka#234).
  • Fixed some old bugs in the XMPP disconnect functions.
  • cburschka#331: Fixed a crash on servers that send with their kick/bans.
  • cburschka#338: Converted destroy-confirmation message to string (resulting from cburschka#234).
  • cburschka#339: Fixed translateable strings with markup (resulting from cburschka#234).
  • cburschka#340: Now consistently accepting backslashed quotes in command arguments.
  • cburschka#341: Now escaping all quotes in nicks in chat.prefixMsg().
  • cburschka#342: Fixed a crash in XMPP forms with list-multi/text-multi fields.
  • cburschka#357: /admin now correctly reports failure of commands.

Other changes

  • The /ping timeout error now includes the unit (ms).
  • Ignore custom.css and config.custom.js files.
  • Add color to debug XMPP traffic. Incoming is blue, outgoing is red.
  • cburschka#296: Switch data-time attribute from timestamp to ISO string.
  • cburschka#298: Use hexadecimal \HEX escape sequences in JID classnames.
  • cburschka#306: Remove strings.init(), move that stuff to xmpp.init().
  • Split up setup.py tasks to avoid rebuilding too many files.
  • cburschka#325: Register namespaces with Strophe.
  • Alphabetize button label strings.
  • Update library list in README
  • Fixed some of the copyright/license information.
  • cburschka#356: Upgraded jquery library from 2.1.4 to 2.2.3

1.10.0 - Starlight

16 Dec 01:22
v1.10.0-calref
Compare
Choose a tag to compare

This long-delayed release makes minor improvements to the UI, fixes several bugs
in room history and plaintext message bodies, and adds eleven new ponicons.

Features

  • cburschka#252: Print role and affiliation changes.
  • cburschka#254: /admin command is now interactive.
  • cburschka#260: Changes to the timestamp format are now applied retroactively.
  • cburschka#266: New :flutterkay: emote.
  • cburschka#272: Reformat the plaintext body as Markdown.
  • cburschka#275: The OMG theme has been removed.
  • cburschka#281: Ten new ponicons: :goodjob:, :calm: :ajcry:, :ajdoubt:, :pinkieglare:,
    :rarityeww:, :spikewhoa:, :skeptiloo:, :twipbbt: and :wasntme:.

Bugfixes

Minor changes

  • cburschka#263: The /version command no longer prefixes the version with "cadence-".
  • Refactor chat.commands to alphabetical order.
  • cburschka#277: Update the JS libraries.
  • Add doc comments to visual.messagesToText and visual.ellipsis.
  • cburschka#280: All CalRef-specific ponicons have been removed from the master branch.
  • cburschka#282: Store the persistent font color as a data attribute, not a class.

1.9.1

16 Dec 01:21
v1.9.1-calref
Compare
Choose a tag to compare

This is a bugfix release, fixing mostly regressions from 1.9.0.

Changes

  • cburschka#204 addendum The jquery-ui icons are now copied to the CDN prefix
    during installation.
  • cburschka#256: Navigation links are now displayed again. The cburschka#213 fixes accidentally
    removed the link anchor texts from the navigation links.
  • cburschka#257: The dash theme now correctly styles buttons in dialog overlays,
    which lack the .button class and must be selected with .dialog button.
  • cburschka#258: Backslash escape sequences are now correctly stripped in parseArgs(),
    which only stripped the first sequence in each argument before.
  • cburschka#263: /version now shows the client version as just "v0.0.0" instead of
    (inaccurately) "cadence-v0.0.0".
  • cburschka#264: Plaintext messages (only generated by clients other than cadence,
    which sends all messages with an XHTML-IM body) are now properly escaped
    rather than being interpreted as HTML code.
  • cburschka#265: Room history messages are now attributed to users in the room by their JID.
    This properly styles authors who changed their nickname after sending the
    message, and does not misidentify authors whose former nickname is now
    being used by someone else.
  • cburschka#266: A :flutterkay: emote has been added.

Calref changes

  • #16: Flair icons are now displayed in the message pane regardless of user status,
    and also match the entire JID rather than just the username part.
  • The upstream patch cburschka#253 (removing "droneriots" and "yay" sound effects) has been
    reverted entirely, when previously the file deletions were accidentally merged.

1.9.0 - Sunset

26 May 22:50
v1.9.0-calref
Compare
Choose a tag to compare

This release adds several major new features, along with a lot of improvements to the user interface.

Features

  • #5, cburschka#247: Context menus are now attached to users and rooms. These are triggered by a right click by default, which can be switched to a left click or hover event, or disabled entirely. Context menus provide shortcuts for most of the user- or room-related chat commands.
  • cburschka#204: Rooms can be configured interactively by calling /configure without any arguments or with the --interactive option. This opens the room configuration form in a dialog overlay. /create --interactive brings up the same form during room creation.
  • cburschka#156: Users (by JID) can be invited to the current chatroom using the command /invite <jid>, which uses XMPP standards and is therefore compatible with other chat clients. Incoming invitations are displayed to the user with a link to the specified room.
  • cburschka#243: Cadence can now join password-protected rooms via a --password argument to /join. If the server denies room access due to a missing or wrong password, the client prompts for the password and immediately retries.
  • cburschka#244: Room owners can destroy a room (ie. instantly remove it and expel all its current occupants) via the /destroy [<room>] command. This command requires a confirmation before the room is destroyed.
  • cburschka#218: Sound settings can be tested with a "preview" button which immediately plays the selected sound.
  • cburschka#170: The settings sidebar is now split into three tabs.
  • cburschka#212: The /whois command prints basic user information (JID, role, affiliation).
  • cburschka#232: /admin now supports arbitrary service administration commands as defined by XEP-0133. Form values can be supplied as command-line arguments. The biggest change is that the MOTD must now be set with /admin set-motd rather than /admin motd, because that is the real name of the command.

Fixes

  • cburschka#213: All strings in dynamically generated markup are now either escaped or added (as attributes or text nodes) via jQuery. This ensures that strings can never create markup unless they are added to a format string with a raw: format specifier.
  • cburschka#216: HTML (<b>) is no longer added to web notifications. This is a vendor- specific feature only supported by some desktop environments.
  • cburschka#221: All ponymotes have been converted to bitmaps and re-converted to PN to fix some odd color inconsistencies.
  • cburschka#222: The dnd icon has been resized to 16x16 like other status icons.
  • cburschka#223: Message recipients now have the correct JID classes (and thus flairs).
  • cburschka#231: Handle arbitrary values. The server passes on the element in user presences without filtering, and therefore it can neither be relied on to have one of the standard values (away, dnd, xa, chat) nor be safe for inclusion in an HTML class attribute without escaping.

Minor enhancements

  • cburschka#200: The carhartl/jquery-cookie library is updated to js-cookie/js-cookie.
  • cburschka#211: Rooms are now rendered as full links (with context menus as of cburschka#247) everywhere, not just in the /list output.
  • cburschka#214: An error in the :ajfrown: emote has been fixed by @Nebedia.
  • cburschka#215: Most commands now support a named argument syntax, eg. /msg --nick "<nick>" --msg "<msg>".
  • cburschka#217: The "Make URLs clickable" setting now applies retroactively.
  • cburschka#219, cburschka#220: HTML validation errors fixed in static markup.
  • cburschka#224: Add "missing arguments" error conditions to commands.
  • cburschka#225: Hard-coded error string in /who moved to strings.js.
  • cburschka#226: Block /affiliate command outside room context.
  • cburschka#227: Print error messages if /configure fails.
  • cburschka#228, cburschka#229: Rewrote /affiliate and made /ban and /unban shortcuts for /affiliate outcast / /affiliate none.
  • cburschka#230: The /msg and /dmsg commands use chat.parseArgs().
  • cburschka#233: strings.info is now sorted alphabetically.
  • cburschka#236: Users without a nick (ie. non-occupants) no longer have a fake nick attribute only used for display. Instead, their displayed name is directly generated from their bare JID.
  • cburschka#238: The Cadence version of jquery-replacetext is now a standalone jquery plugin, and is included as a submodule.
  • cburschka#239: xbbcode is now updated to 1.0.0, the first public release. This fixes an error with improperly nested tags.
  • cburschka#240: A nick collision while joining a room now prompts for a different nickname rather than automatically appending a number.
  • cburschka#241: Users get the room name instead of "You have been banned from {room}!" when they are banned.
  • cburschka#242: /whois prints "---" for the JID in anonymous rooms.
  • cburschka#245: Cleaned up string formatting. Formats are now specified with {format:var} instead of {format.var}, and the variable key is var instead of format.var. Names and formats can contain any word characters, not just [a-z]. Variables are only formatted when they are actually used by the template.
  • cburschka#246: /configure --title "<...>" now targets the current room instead of a room named <...>.
  • cburschka#248: Context menu items are only enabled when the current state allows them.
  • cburschka#249: Form dialogs can now be made from any form, not just jabber:data-form stanzas.
  • cburschka#251: Context menus and dialog overlays now visually match the current theme.
  • cburschka#253: :droneriots: and :yay: are removed from the main Cadence branch.
  • cburschka#255 et al: Several style fixes for Firefox and Chromium.

1.8 - Adagio

09 May 09:15
v1.8-calref
Compare
Choose a tag to compare

"Adagio"

This update adds several major features and fixes many bugs, including a security issue.

Critical bugs

  • cburschka#192, cburschka#196: An arbitrary HTML/Javascript injection vulnerability was removed. The emoticon and URL-link processor used the obsolete jquery-replacetext library, which implicitly evaluated any escaped HTML code in messages as a side effect. The library has been removed and replaced with a more robust approach.

Features

  • cburschka#101: Rooms can be configured via arguments for /create or the newly added /configure command. This allows toggling room persistence, logging, permissions and other settings.
  • cburschka#103: Direct messages can be sent and received via the /dmsg command. This allows sending a message directly to any JID (including across domains), and even to a specific client session identified by its resource.
  • cburschka#167: Desktop notifications (if the browser and desktop environment support them) can be enabled for certain events when the client is in the background.
  • cburschka#178: A list of navigational links can be inserted in the title bar.
  • cburschka#180: Six new pony emotes have been added to the pack: :fluttersmile:, :ididntlisten:, :rdmad:, :shutup:, :symadder: :tavizero:
  • cburschka#182: The new /dnd command sets your status to "do not disturb", which turns off sounds and notifications, while also showing up as a status icon in the roster.

Bugs

  • cburschka#142: All BBCode buttons now have shortcuts supported by most browsers, including Chromium-based ones that didn't work previously. These use the HTML5 accesskey attribute. The specific key combination may vary accross browsers, and is shown in the button tooltips.
  • cburschka#166: The full RGB color selection now works reliably, by adding an "Advanced" button to the palette dialog that opens the color picker.
  • cburschka#186: Disabling inline images now actually works, instead of showing both the image and the alt-text.
  • cburschka#189: Emoticons will no longer render inside hyperlink anchors, which avoids rendering 8o or :D in URLs.

Minor fixes

  • cburschka#179: Alphabetize /who output.
  • cburschka#188: Some incorrect labels in the settings form have been fixed.
  • cburschka#190: Open all links in new tab.
  • cburschka#191: The text color RGB code is in monospace; the sliders have a set width.
  • cburschka#195: JS libraries were updated (strophe, buzz, jquery and moment)
  • cburschka#197: The codes in the help sidebar now line-wrap.
  • cburschka#198: Some unused images have been removed, one image was renamed.
  • cburschka#202: The stderr output of which is now suppressed.
  • cburschka#203: The room title is no longer run through Strophe.unescapeNode
  • cburschka#205: The onclick event for users is now attached instead of injected in HTML.
  • cburschka#206: Private messages can now be sent to nicks that contain backslashes.
  • cburschka#207: Pressing Escape or Cancel on the URL prompt no longer inserts [url][/url].
  • cburschka#209: Make the recipient clickable on outgoing /msg and /dmsg whispers.
  • cburschka#210: Some control flow refactoring.

Tirek

29 Mar 11:35
v1.7-calref
Compare
Choose a tag to compare

"Tirek"

This is a maintenance update that closes several substantial bugs in the user interface.

Major

  • cburschka#144: Fix the user roster's removal function. It was currently deleting random users instead of the user that had actually left, messing up nickname sorting and occasionally failing to show a user logging in.
  • cburschka#171: Ignore departures of unknown users. ejabberd sends multiple presence stanzas when a multi-session nick is kicked or banned, causing a crash when the roster tries to delete the same nick multiple times.
  • cburschka#174: Escape usernames when generating a JID from a login name. This allows users with spaces or "'<>&@\/: characters to connect to a server.

Minor

  • Restore the user sidebar's old width. It was made wider along with the emoticon sidebar.
  • cburschka#154: Make the "hide inline images" setting hide only images. It was completely hiding every message received while active.
  • cburschka#159: Restore messages to "inline" display after unhiding them, to avoid bad linebreaks.
  • cburschka#161: Fix a Javascript error when running /save with empty chat history.
  • cburschka#162: Don't play the "mention" sound for user's own login.
  • cburschka#164: Remove font color from text box when persistent font colors are off.
  • cburschka#165: Let delete button float at the top right corner of a message, rather than occasionally getting pushed below it.
  • cburschka#169: Improve the join/part messages.
  • cburschka#172: Refresh the room list before creating a room, to avoid phantom conflicts with deleted rooms, or actual conflicts with newly created ones.
  • cburschka#173: Clear the room roster whenever a room is left. It was only cleared when switching directly between rooms.
  • cburschka#175: Consistently update the URL fragment when leaving or joining rooms; fix a whitespace error when appending the URL fragment in /join.
  • cburschka#176: Remove room name from page title when the room is left.
  • cburschka#177: Unescape characters in usernames when rendering output. This is relevant when adding parentheses and generating CSS classes for flairs.

Discord

29 Mar 09:03
v1.6-calref
Compare
Choose a tag to compare

"Discord"

For a monthly update, this one is pretty loaded with major enhancements and features, most of which have been sitting in the pipeline for a long time.

Features

  • cburschka#132: Eight new ponicons, including one new character. :sunsetshimmer:, :sunsetsneaky:, :lunamad:, :discordsad:, :pinkiepout:, :scootablue:, :spikehappy:, :twisecret: - cburschka#145: Another ponicon (original work): :sombra:
  • cburschka#50: Most markup settings (persistent colors, emoticons and inline images) are now retroactively applied to all messages when toggled.
  • cburschka#52: The persistent color setting now supports full RGB in HTML5-compliant browsers. To open the full color menu, simply hold down the color button for 0.5 seconds.
  • cburschka#147: /back now accepts a status message as an argument.
  • cburschka#150: /ping command added. This pings the server, or accepts a nickname or JID as a target.
  • cburschka#151: Cadence will respond to ping stanzas, allowing users to ping each other.
  • cburschka#112: Create an Emoticon Pack API that allows easily dropping in sets of custom emoticons. The default ponicon set is now an emoticon pack (but still included in the repository).

Enhancements

  • cburschka#130: Images are now inline-block elements and vertically centered on the line, just like emoticons. This fixes a few visual oddities with link anchors and the message-hiding buttons.
  • cburschka#141: The current room is now included in the page title.
  • cburschka#152: Update all JS libraries (jQuery to 2.1.3), the others to their latest development branches at Jan 20, 2015.

Bugfixes

  • cburschka#140: The invisible "[hidden]" placeholder at the end of each message is no longer included in the log files generated by /save.
  • cburschka#143: If for whatever reason the last opened sidebar has been removed or renamed since the page was last loaded, the page will now fall back to the user list instead of crashing.
  • cburschka#146: :aaaaa: is a duplicate of :rarishock: so it is now an alias.
  • cburschka#148: Users setting their status to "dnd" (do not disturb; only available to external clients) will no longer cause an error.
  • cburschka#149: The local jQuery installation that has been included since version 1.4 is now actually included on the page, instead of the external library.

Sombra

29 Dec 03:34
v1.5-calref
Compare
Choose a tag to compare

"Sombra"

Features

  • cburschka#111: Ctrl+B, I, S and U will automatically add the corresponding BBCode tags
    around the cursor or selected text.
  • cburschka#120: The /affiliate command allows admins and owners to set a user's room
    affiliation.
  • cburschka#129: Messages can be locally hidden (and unhidden) by clickin an "X" next to
    the message.
  • cburschka#131: The tab key will automaticallly complete any partial nickname or chat
    command in the input field.
  • cburschka#133: The current room ID is now bound to the URL fragment ("#lounge"). This
    allows bookmarking or linking directly to rooms, as well as inviting
    other cadence users to a room by sending a [url=#room][/url] link.
  •   New ponicon: :symad:
    

Enhancements

  • cburschka#62: The user's own roster entry is emphasized.
  • cburschka#74: Instead of a settings cookie, cadence now uses HTML5 local storage.
    This has an increased size limit and is not sent to the server.
  • cburschka#78: Emoticon codes inside tags are not rendered.
  • #123: The user roster is now sorted alphabetically.
  • #126: On the arrival of a user whose nickname matches an alert keyword, the
    "mention" sound will be played.
  • #135: The help sidebar is updated with all new commands. Admin commands are
    grouped under a separate section. The commands themselves are printed
    as code, instead of being italicized.
  • #139: Raised maximum displayed nickname length from 32 to 48.

Bugfixes

  • #116: Fixed a regression in the /msg command regex.
  • #119: Fix the "Connection failed (improper-addressing)" error when restarting
    after a remote-dropped connection, caused by a stale connection object.
  • #122: Skip code compression when YUI is not installed.
  • #124: When clicking on a nickname with spaces, and then clicking another user,
    only the first part of the nickname was replaced in the input field.
  • #128: /bans printed a poorly formatted message with an empty banlist.
  • #134: Removed the last remnants of the never-displayed splash page.
  • #136: Fixed an alignment problem affecting the [b] button on some devices.
    The bold font weight caused the button to be placed slightly lower than
    the others.

v1.4.1-calref: cadence 1.4.1

26 Aug 06:14
Compare
Choose a tag to compare

This version only effects the calref branch. It begins the rollout of cutie marks and features a slight enhancement of the calref-install.sh update script.