Commit Graph

38 Commits (65df3157bd8cb28ebd75b6484716e25368d58cdb)

Author SHA1 Message Date
Audric Ackermann 65df3157bd chore: lint 2 years ago
Audric Ackermann 4b97f14edf fix: added batch requests for snode but signature fails 2 years ago
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
3 years ago
Audric Ackermann b17312c13c
Cleanup redux store (#1925)
* do not consider expire timer update unread messages #1881

* cleanup conversation props in redux to only have what cannot be derived

* fix app not starting without the await on convo creation

* cleanup props of message model
3 years ago
audric bfc4b2b720 lint 3 years ago
Audric Ackermann ca331b95a6
remove coverage unused 3 years ago
Audric Ackermann 4a491e6a6a
lint 3 years ago
Audric Ackermann 9f6a5f6d2e
find lint 3 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 3 years ago
Audric Ackermann ed84760f0e
add a tslint rule to forbid use of async without await 3 years ago
Audric Ackermann 026a1930ed
add a getOrThrow to ConversationController when we expect this convo 4 years ago
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 4 years ago
Audric Ackermann e9875b2c1b
disable tslint rule whichs forbids small letters hexa 4 years ago
Audric Ackermann 702a7d6b88
upgrade tslint to 5.19 to have no-promise-as-boolean 4 years ago
Maxim Shishmarev 8ca7b8cfb4 Message receiving refactor: handleDataMessage onwards 4 years ago
Mikunj 3f78e2686e Allow lowercase characters in static methods.
The following changes just makes it so functions can
4 years ago
Audric Ackermann b1d8590a66 update tslint.json to allow use of dangerouslySetInnerHTML in SessionHTMLRenderer 5 years ago
Maxim Shishmarev 7c96990119 Correctly handle server errors in multi-deletion 5 years ago
Maxim Shishmarev 687e9db77b Custom message rendering of mentions 5 years ago
Ryan Tharp c57571fdfd loki.network rss feed 5 years ago
Scott Nonnenberg c8ea2e9463 Download and install updates without the help of electron-updater 5 years ago
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 5 years ago
Scott Nonnenberg 0850dc368a Lint fixes 6 years ago
Scott Nonnenberg 3c69886320 Finish new Message component, integrate into application
Also:
- New schema version 8 with video/image thumbnails, screenshots, sizes
- Upgrade messages not at current schema version when loading messages
  to show in conversation
- New MessageDetail react component
- New ConversationHeader react component
6 years ago
Scott Nonnenberg 2988da0981 Turn on all of Microsoft's recommend lint rules
Biggest changes forced by this: alt tags for all images, resulting in
new strings added to messages.json, and a new i18n paramter/prop added
in a plot of places.

Another change of note is that there are two new tslint.json files under
ts/test and ts/styleguide to relax our rules a bit there. This required
a change to our package.json script, as manually specifying the config
file there made it ignore our tslint.json files in subdirectories
6 years ago
Daniel Gasienica 84f69f482f Prettier: Format JSON configuration files 6 years ago
Daniel Gasienica 320a8d31c1 TSLint: Allow multiline JS in JSX for CSS-in-JS 6 years ago
Daniel Gasienica cd2a02a626 Add TSLint Prettier overrides 6 years ago
Daniel Gasienica 8edbd06e43 TSLint: Enforce UNIX line breaks 6 years ago
Daniel Gasienica a8bca9b8eb TSLint: Enforce indentation with 2 spaces
Not sure if this rule actually works.
6 years ago
Daniel Gasienica 04acdebe48 TSLint: Align various syntax elements 6 years ago
Daniel Gasienica 832b6309a2 Limit line length 6 years ago
Daniel Gasienica cf1d621bce Allow line breaks in long `import` statements 6 years ago
Daniel Gasienica 0daccee209 Enable TSLint Mocha rules 6 years ago
Daniel Gasienica 7cb43c9f7f Add TSLint rules 6 years ago
Daniel Gasienica e052d1df7b Use generic array syntax for consistency
Always prefer `Array<T>` over `T[]` for primitive types only.
6 years ago
Scott Nonnenberg 23293a3c00
New tslint rule: Interfaces must not start with I 6 years ago
Scott Nonnenberg 893fb1cb9e
Introduce React/TypeScript/TSLint into app for new UI components
npm run transpile
  Works on files under js/react/
  Outputs files right next to the .tsx file

This is part of our `grunt dev` task, as well as the default grunt task,
which does everything else necessary to get a raw git checkout ready to
run.
6 years ago