Project

General

Profile

Actions

Feature #18581

open

CHAT refactor

Added by Carsten Rose about 2 months ago. Updated 14 days ago.

Status:
New
Priority:
Normal
Assignee:
Carsten Rose
Target version:
Start date:
11.05.2024
Due date:
27.06.2024 (3 days late)
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
No
Vote:

Description

SIP Parameter 'mode'

Verwendung von Konstanten

  • Bitte CHAT umstellen das die Konstante 'SIP_MODE_SAVE' anstelle von 'mode' verwendet wird.
  • Anschliessend den Wert der Konstanten 'SIP_MODE_SAVE' aendern von 'mode' zu '_modeSave'.
  • Aktuell ist die Wahrscheinlichkeit von Kollision (SIP Parameter 'mode' wird von einem Applikationsentwickler verwendet) recht hoch!
  • Bitte (erneut): Wird ein String an mehr als einer Stelle verwendet, bitte eine Konstante dafuer definieren - es macht einen Refactor so vieles einfacher!!!
  • Warum sollten QFQ interne SIP Parameter mit einem '_' beginnen?
  • Wenn done, bitte das TODO aus save.php entfernen:

Refactor CHAT_MODE_*

Bitte die 4 Konstanten umbenennen (Konstante & Value):

alt neu
1 CHAT_MODE_SAVE SAVE_MODE_CHAT
2 CHAT_MODE_TAG_DONE SAVE_MODE_CHAT_TAG_DONE
3 CHAT_MODE_TAG_ADD SAVE_MODE_CHAT_TAG_ADD
4 CHAT_MODE_TAG_DELETE SAVE_MODE_CHAT_TAG_DELETE
  • Sollte 2-4 etwas anderes sein als 1, dann bitte eine zweite SIP Variable dafuer einfuehren.
  • Bei neuen Definitionen bitte Camel Case verwenden (kein Snake Case mit den Unterstrichen). Bsp
    outdated CHAT_MODE_TAG_DONE = 'chat_tag_done', neu chatTagDone.

Websocket Server Prozess

???


Files

Actions #1

Updated by Carsten Rose about 2 months ago

Actions #2

Updated by Carsten Rose about 2 months ago

  • Description updated (diff)
Actions #3

Updated by Carsten Rose about 2 months ago

  • Description updated (diff)
Actions #4

Updated by Carsten Rose about 2 months ago

  • Description updated (diff)
Actions #5

Updated by Carsten Rose about 2 months ago

  • Description updated (diff)
Actions #6

Updated by Carsten Rose about 2 months ago

  • Description updated (diff)
Actions #7

Updated by Carsten Rose about 2 months ago

  • Description updated (diff)
Actions #8

Updated by Carsten Rose about 1 month ago

  • Tracker changed from Support to Feature
Actions #9

Updated by Carsten Rose 18 days ago

  • Due date changed from 25.05.2024 to 16.06.2024
Actions #10

Updated by Carsten Rose 14 days ago

  • Due date changed from 16.06.2024 to 27.06.2024
Actions

Also available in: Atom PDF