Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,12 @@ If you use generative AI tools as an aid in developing code, ensure that you ful

Make sure you have added value based on your personal competency to your contributions. Just taking some input, feeding it to an AI and posting the result is not of value to the project. We reserve the right to rigorously reject seemingly AI generated low-value contributions.

Maintainers may close issues and PRs that are not useful or productive, including those that are fully generated by AI. If a contributor repeatedly opens unproductive issues or PRs, they may be blocked.
Maintainers may close issues and PRs that are not useful or productive, including those that are fully generated by AI. If a contributor repeatedly opens unproductive issues or PRs, they may be blocked.

## Cross-references & upstream links

This repository shares history with upstream `commetchat/commet` but is not a registered fork. Writing the upstream slug glued to an issue number (`commetchat/commet#123`), or an upstream issue/PR URL (`github.com/commetchat/commet/issues/123`), into **any GitHub issue body, pull-request description, commit message, or comment** creates cross-reference notifications in the upstream repo. Upstream has asked us to stop, because this is unnecessary spam for them.

- When you must cite an upstream ticket, write it as plain backticked text like `` `#123 (upstream)` `` — **never** `owner/repo#N` and **never** a URL.
- Reference **this** repo's own issues normally with `#N`.
- The roadmap automation (`scripts/create_issues.py`) follows the same rule.
27 changes: 23 additions & 4 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,24 @@
> domains) against the **86 open issues** in the upstream tracker
> (`commetchat/commet`) and against feature parity with mature Matrix clients
> (Element / Element X, FluffyChat, SchildiChat, Cinny) and modern chat apps.
> Issue numbers below (`#NNN`) reference the upstream GitHub tracker.
>
> ### ⚠️ Cross-reference policy — never link upstream
> The `#NNN` numbers in this document are **upstream commetchat/commet tracker
> numbers, recorded only as private context for this fork.** Keep them in backticks.
> They must **never** leave this file as a GitHub link:
>
> - **Do NOT** write the upstream repo slug glued directly to an issue number
> (the `commetchat/commet` + `#123` form), and do **NOT** write any
> `github.com/commetchat/commet/issues/N` or `/pull/N` URL, into a GitHub
> **issue body, pull-request description, commit message, or comment.** GitHub
> turns those into cross-reference notifications that spam the upstream repo
> (upstream asked us to stop — see their tracker, issue #248).
> - **Safe convention instead:** when an issue/PR/commit/comment needs to cite an
> upstream ticket, write it as plain backticked text `` `#NNN (upstream)` `` —
> never as `owner/repo#N`, never as a URL. A backticked `` `#NNN` `` renders as
> inert text and never notifies upstream, so it is safe.
> - **Automation** (`scripts/create_issues.py`) must emit refs the same way:
> backticked, no `commetchat/commet` prefix, no upstream URLs.

Commet already has a remarkably **broad** feature surface — E2EE, threads, spaces,
polls, Element Call, custom emoji/stickers, GIF search, read receipts, typing
Expand Down Expand Up @@ -440,6 +457,8 @@ viewer · offline key export · low-priority tag · mark-all-as-read.

---

*Generated from a multi-agent audit of the codebase + open-issue tracker. Issue
numbers reference `github.com/commetchat/commet`. Re-run the analysis as the tracker
and code evolve.*
*Generated from a multi-agent audit of the codebase + open-issue tracker. The
backticked `#NNN` are upstream tracker numbers kept as context only — never write
them as the `commetchat/commet`+`#N` form or as an upstream URL into any
issue/PR/commit/comment (see the Cross-reference policy at the top of this file).
Re-run the analysis as the tracker and code evolve.*
2 changes: 1 addition & 1 deletion commet/lib/config/preferences.dart
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ class Preferences {
BoolPreference tenorGifSearchEnabled =
BoolPreference("enable_tenor_gif_search", defaultValue: false);

//Workaround for: https://github.com/commetchat/commet/issues/202
//Workaround for upstream commetchat/commet tracker issue 202
BoolPreference stickerCompatibilityMode =
BoolPreference("sticker_compatibility_mode", defaultValue: true);

Expand Down
4 changes: 2 additions & 2 deletions commet/lib/ui/organisms/home_screen/non_space_rooms_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import 'package:intl/intl.dart';
import 'package:tiamat/tiamat.dart' as tiamat;

/// Lists the rooms that aren't part of any space (and aren't direct messages),
/// for the "Rooms" view reached from the navigation rail (#13 /
/// commetchat/commet#836). It mirrors how [ImportantRoomsList] shows favourites
/// for the "Rooms" view reached from the navigation rail (see `#13`; upstream
/// tracker `#836`). It mirrors how [ImportantRoomsList] shows favourites
/// and DMs in the same picker column.
///
/// Rooms come from `ClientManager.singleRooms`, which honours the account
Expand Down
2 changes: 1 addition & 1 deletion commet/lib/ui/pages/fatal_error/fatal_error_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ${trace.toString()}

void onReportButtonPressed() async {
var data = await getErrorData();
var uri = Uri.https("github.com", "/commetchat/commet/issues/new", {
var uri = Uri.https("github.com", "/Deniel9204/MyCommet/issues/new", {
"title": "Fatal error occurred on app startup",
"body": data,
"labels": "bug",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class SettingsCategoryAbout implements SettingsCategory {
text: "Source Code",
recognizer: TapGestureRecognizer()
..onTap = () => LinkUtils.open(
Uri.parse("https://github.com/commetchat/commet"),
Uri.parse("https://github.com/Deniel9204/MyCommet"),
context: context)),
),
const tiamat.Text.label(" · "),
Expand All @@ -76,7 +76,7 @@ class SettingsCategoryAbout implements SettingsCategory {
recognizer: TapGestureRecognizer()
..onTap = () => LinkUtils.open(
Uri.parse(
"https://github.com/commetchat/commet/blob/main/LICENSE"),
"https://github.com/Deniel9204/MyCommet/blob/main/LICENSE"),
context: context)),
),
const tiamat.Text.label(" · "),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class _LogPageState extends State<LogPage> {

Future<void> reportIssue(LogEntryException entry) async {
var data = await getErrorData(entry);
var uri = Uri.https("github.com", "/commetchat/commet/issues/new", {
var uri = Uri.https("github.com", "/Deniel9204/MyCommet/issues/new", {
"title": entry.content.split("\n").first,
"body": data,
"labels": "bug",
Expand Down
2 changes: 1 addition & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ These are handled by the repo — listed so you know what's going on:
`macos/Runner/{Release,DebugProfile}.entitlements`.
- **WebRTC-SDK pod conflict** — `flutter_webrtc` and `livekit_client` pin
different `WebRTC-SDK` patch versions; `macos/Podfile` re-aligns them at
pod-install time. Tracked in issue #196 (remove the workaround once upstream
pod-install time. Tracked in issue `#196` (remove the workaround once upstream
aligns).
- **E2EE** — vodozemac is initialized via the native `flutter_vodozemac`
framework on macOS (not the wasm path).
Expand Down
18 changes: 13 additions & 5 deletions scripts/create_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@
DRY_RUN If set (and no GH_TOKEN), only prints what would be created.
START_AT 1-based index to resume from (skips already-created issues on re-run).

Upstream issue refs (#NNN) point at github.com/commetchat/commet.
The `#NNN` refs below are upstream commetchat/commet tracker numbers, kept ONLY as
private context for this fork. They must never be written into a posted issue body
as `commetchat/commet#NNN` or as a github.com/commetchat/commet/... URL: GitHub turns
those into cross-reference notifications that spam the upstream repo. This script
therefore emits them as inert backticked text (`#NNN`) that never links anywhere.
See the cross-reference policy in ROADMAP.md / CONTRIBUTING.md.
"""
import json
import os
Expand All @@ -26,7 +31,6 @@
DRY_RUN = bool(os.environ.get("DRY_RUN")) or not TOKEN
START_AT = int(os.environ.get("START_AT", "1"))
API = "https://api.github.com"
UPSTREAM = "commetchat/commet"

# ---------------------------------------------------------------------------
# Labels (name -> color). Pre-created so issue creation never fails on a label.
Expand Down Expand Up @@ -263,11 +267,15 @@ def req(method, path, body=None):

def body_for(issue):
title, kind, prio, area, refs, desc = issue
ref_txt = ", ".join(f"{UPSTREAM}#{n}" for n in refs) if refs else "_none (parity/architecture gap)_"
# Emit upstream tracker numbers as inert backticked text only. Never glue the
# `commetchat/commet` slug onto `#N` and never use an upstream URL here: that
# creates cross-reference notifications that spam the upstream repo.
ref_txt = ", ".join(f"`#{n}`" for n in refs) if refs else "_none (parity/architecture gap)_"
return (f"{desc}\n\n"
f"**Type:** {kind} · **Priority:** {prio} · **Area:** {area}\n\n"
f"**Related upstream issues:** {ref_txt}\n\n"
f"<sub>Auto-generated from `ROADMAP.md`.</sub>")
f"**Upstream tracker refs (context only — not links):** {ref_txt}\n\n"
f"<sub>Auto-generated from `ROADMAP.md`. Refs are upstream commetchat/commet "
f"tracker numbers kept as context; they are intentionally not linked.</sub>")


def labels_for(issue):
Expand Down
Loading