Skip to content
Tags give the ability to mark specific points in history as being important
  • v0.3.0 protected
    4eaaf179 · 0.3.0 (localhost) ·
    - add docker and docker-compose for a local synapase homeserver config
    - refactor `api` service initilisation with `baseUrl`
    - refactor `api` to use `this.baseUrl` for all fetch
    - allow `login` to discover baseUrl from .well-known from the user's homeserver (also http localhost)
    - `registerUserKind` accepts `baseUrl` as second argument
    
    # missing
    - tests & CI should use local temporary homeserver
  • v0.2.10 protected
    cc9851fd · add docs for services ·
    - fix images on other homeservers (no federation, as we don't support yet)
  • v0.2.9 protected
    edb70905 · 0.2.9 ·
    - npm package.json .exports `/{api-widget,dom-events,events-manager,storage}` services
    - js lib exports MatrixApiWidget constructor (no singleton)
  • v0.2.8 protected
    77e82210 · 0.2.8 ·
    - fix widget id search param rename error
  • v0.2.7 protected
    9780466d · 0.2.7 ·
    - matrix-devices, matrix-device
    - matrix-register, matrix-auth-flows, matrix-stage
    - matrix widget capabilities
    - see #59 and #60 for more info
  • v0.2.6 protected
    - matrix-send-event(s)[is-widget] will not call the API, but still send the `mxevent` DOM event, so they can be used in widgets
    - room state events use the events-manager service, for form (display not displayed yet; `matrix-state-event` tbd)
    - refactor exports for `/templates/matrix-event/`, ready to be used in the events-manager
    - matrix-send-event(s), with the events-manager will discover state events from the sepc `m.<event_type>` (or custom events can be set with a boolean when registered)
  • v0.2.5 protected
    1d356702 · 0.2.5 ·
    Improve `matrix-search` behavior, attribute APIs, docs:
    - `apisearch` will allow calling /search on the homeserver (via `mwc.api.search(matrixSpecSearchBody)`, like before)
    - `quicksearch` will load the joined rooms as HTML datalist to the input (be can be used in conjunction or independent`
    - `quicksearch-events` will load the events from attribute as JSON stringyfied Array of MatrixEvent(s)
    - Fix the bug of datalist ID being "not unique" in the DOM (therefore also not in JS window/document, and being shared across instances of matrix-search; not what we wanted)
    - add `legend` and `placeholder` attributes for customizing what is shown on the screen
  • v0.2.4 protected
    313de144 · 0.2.4 ·
    - fix error; remove unecessary room name access in api room info 
    - add `mwc.api.search()` to search events in joined rooms on the `/search` matrix homeserver endpoint
    - add `matrix-search` web-component to display a basic UI for the search endpoint
    - refactor `mwc.api.checkMatrixId()` so the function is clearer and provides better match (for matrix-event.onInput → checkMatrixId → `libli.org,matrix.to,matrix.actor)/<matrix_id>`)
    - fix ci (local works) for vite.build.external = ["dompurify"] 
    -  import DOMPurify (from npm) only on room example page (peer deps)  ← should do that on every page where we want matrix-room[flag-sanitizer="true"] to work (peer deps from mwc)
    -  put roomStateEventsToRoomInfo out of service/api for clarity (gotta refactor to following the "matrix answer" better, array of event; by their types?)
    -  start refactor all dom events `mx*` sent by mwc components, into services/dom-events.js of 'types' like structure; to be continue with "non standard" ("auth" etc.), and maybe use `io.gitlab.sctlib.mwc.<event_name>` to follow convention (and what is started in libli?)
  • v0.2.3 protected
    - fix window.Sanitizer = DOMPurify and flag-sanitizer on room-message
    - dom changes (from implementation in libli; avatar > figure etc.)
    - pages css splitted
    - only render send-event in send-events if selected
    - fix m.room.message/form.js Submit type
  • v0.2.2 protected
    ef8f214d · fix build lib ·
    - [BREAKING] move `eventsManager` from `mwc.api.eventsManager` to `mwc.eventsManager`
    - re-organize folder structure, to clear root folder, and move "services" (api etc.) under `src/services`
    - fix and use tests
    - create matrix-error
    - improve matrix-login,logout,auth
    - [BREAKING] renamed `matrix-auth` slots
    - improve docs and examples
  • v0.2.1 protected
    - `matrix-event` now uses `displayTemplate` (similar to previous `formTemplate`) to display an event's content by its type, using a custom web-component (user defined)
    - `matrix-event` > `matrix-event-content` → inserts the content of the `displayTemplate` and assign the `event=""` attribute on the first children HTML (JSON stringify)
    - use the folder `src/template/:matrix.event.type/{form,display}.js` for modular registration of each of an "event's components" (display and form)
    - create `matrix-event-room-message` for default `m.room.message` event type, and example of other types
  • v0.2.0 protected
    Breaking changes (see docs and examples for each components):
    - matrix-send-event has a new API
    - api.eventsManager(name, {formTemplate, displayTemplate}) to register custom events  (only form to send now; coming display and edit)
    - matrix-send-events to offer custom multi events type sending
    - matrix-room[show-send-event,send-event-types] should work as before with the new API, but the <slot name="send"> children have changed
    - removes the indexedDB in favor of previous localstorage, because indexedDB introduced async, and we did not handle that correctly
  • v0.1.14 protected
    c8fd60c4 · 0.1.14 (matrix-profile) ·
    - add `<matrix-profile user-id="@user:homeserver.tld">`
  • v0.1.13 protected
    - try fix service-worker export and `./sw.js` dist output
  • v0.1.12 protected
    - fix user authentication
    - fix auth event from storage to api to components (async db initialization in sync component constructors and no async init)
    - fix storage in indexedDb for user 
    (still not fixed the tests)
  • v0.1.10 protected
    (might need to cleanup the page local storage / indexed db & login again)
    - display room avatar from `mxc` URI to matrix media thumbnail URL
    - refactor `api.mxcUriToUrl` for thumbnail and download links
    - refactor images/thumbnails/files/media URL over components
    - remove `homeserver` attribute reference/requirement on most components
    - remove `homeserver` requirement for media api function calls (only `mxc` URI is required, the `homeserver` is stored inside)
    - store auth in indexedDB
    - add service worker to intercept api calls (future cache + offline first)
    - add broadcast channel for service worker to page communication
  • v0.1.9 protected
    - fix package.json.main (jsdelivr first seen https://github.com/jsdelivr/jsdelivr/issues/18519)
  • v0.1.8 protected
    a038bc3a · 0.1.8: missing return ·
    - fix missing return value in api.sendEvent
  • v0.1.7 protected
    - fix dist git ignored folder?
  • v0.1.6 protected
    - try fix npm exported js files
    - move components in /src/components
    - try @sctlib/mwc/raw export for "peer dependency" path