Commit Graph

59 Commits

Author SHA1 Message Date
William Grant 00a89aca1c added .vscrof folder to gitignore 2023-08-17 13:42:09 +10:00
Audric Ackermann a77aa610f8 finish contact test1, still need to fix the .set with a struct 2023-01-06 14:51:55 +11:00
Audric Ackermann b4835f1636 fix: make libsession worker run from the renderer with key from settings 2022-12-19 18:58:55 +11:00
Audric Ackermann e8a1e07b68 fix: build do not add files in linux, win and mac dist/subfolders 2022-08-09 14:20:07 +10:00
Audric Ackermann 242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver (#2347)
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
2022-08-08 09:50:48 +10:00
William Grant 5cf76c5f08 feat: build sass files using parcel instead of grunt
added sass watch command for auto building sass on file changes, cleaned up IE7 fallback css
2022-05-23 16:36:03 +10:00
Audric Ackermann ec76057c5e
Merge integration test (#2313)
* Testing playwright for Desktop automation

* add more data-testid field

* remove commited test-results

* test: skip group upkeep for now

* test: mention test create group instead of restoring from seed

* test: run on testnet

* fix: revert messagebanner unread count changes

from commit 8107d75e89

Co-authored-by: Emily <emily@oxen.io>
2022-05-17 13:22:13 +10:00
William Grant 9dcfbb9b3e fix: added .parcel-cache to gitignore 2022-05-11 10:58:21 +10:00
Audric Ackermann 0efce6ea2d
updating workflows actions version 2022-04-26 16:43:30 +10:00
Audric Ackermann add267ae69
make the util worker be bundled with parcel 2022-04-20 10:07:29 +10:00
Audric Ackermann af9d2fdfa1
get rid of libtextsecure.js and componnets.js 2022-04-14 11:18:01 +10:00
Audric Ackermann 92814ba36c remove libloki references from ingored files 2022-03-29 12:19:54 +11:00
Audric Ackermann 51575d2f56
moved views to TS but broken 2022-03-24 11:15:21 +11:00
Audric Ackermann 15ae511bca
Merge branch 'clearnet' into small-refactor 2022-01-17 16:35:16 +11:00
burtonemily ffdf2519ca
Integration test (#2128)
* Testing playwright for Desktop automation

* converting tests from javascript to typescript and finishing create user automated test

* Trying to delete app data when test finishes, not through UI

* Undoing the code for clear database once test completes

* Creating POM for cleanup function

* cleanup function for playwright tests

* Creating a new user function, open electron function and clean up function

* fixes user object for new user function

* Adds a login function and start of send message test

* Creating test for sending messages, logging in and adding in data test id tags

* add more data-testid field

* updates new contact test, to have multiple windows and users running simultaneously

* updating clean up and new user test

* Fixing issues with creating new user

* new contact test

* New test to check password functionality

* make sure to cleanup data before running tests

* New group creation test and sending message function

* Adding new automated test for sending message to a contact

* create group test and updating new contact test to include date in test message

* updating package.json to remove webdriver and chromedriver and spectron

Co-authored-by: Audric Ackermann <audric@loki.network>
2022-01-17 16:34:27 +11:00
Audric Ackermann 3d2158f469
no need to build libtextsecuretest anymore 2022-01-06 11:32:07 +11:00
audric b6fcd59ec4 fix notification open the correct conversation 2021-08-09 11:52:00 +10:00
Audric Ackermann cb5a22f3aa
add icons for appImage 2021-08-03 14:32:18 +10:00
Audric Ackermann e8f0c4aaec
move libloki to webworker and remove unused stuff in it 2021-07-13 11:16:59 +10:00
Audric Ackermann ca331b95a6
remove coverage unused 2021-07-05 10:26:40 +10:00
Warrick cb307790f6
WIP: User nicknames (#1618)
* WIP Adding change nickname dialog.

* WIP adding nickname change dialog.

* WIP nickname dialog.

* WIP: Able to set conversation nicknames. Next step cleaning and adding to conversation list menu.

* Fix message capitilisations.

* Add change nickname to conversation list menu.

* Enable clear nickname menu item.

* Added messages for changing nicknames.

* Clearing nicknames working from header and message list.

* Adding modal styling to nickname modal.

* Reorder nickname menu item positions.

* Add group based conditional nickname menu options to conversation header menu.

* minor tidying.

* Remove unused error causing el option.

* Formatting.

* Linting fixes.

* Made PR fixes

* Prioritise displaying nicknames for inviting new closed group members
and updating closed group members.
2021-05-12 10:40:49 +10:00
Audric Ackermann e6cf28cb2a prettier on pre-commit 2021-03-01 12:05:39 +11:00
Audric Ackermann 59baf7562b
add ts file for missing test key_change_listener 2020-11-25 09:48:42 +11:00
Mikunj fad00a4ebd Bump to version 1.2.0 2020-07-31 13:49:53 +10:00
Audric Ackermann 41d5d272f5
use --incremental to speed up builds 2020-07-29 10:01:57 +10:00
Maxim Shishmarev 8ca7b8cfb4 Message receiving refactor: handleDataMessage onwards 2020-06-12 18:08:44 +10:00
Audric Ackermann c3b098456b
ignore file-server generated files 2020-05-26 17:28:44 +10:00
Vincent a2b34c77b3 remove eslintcache 2020-02-03 15:53:36 +11:00
Beaudan 08b5c5608f Ignore ctags file 2019-08-05 17:23:26 +10:00
Beaudan 63396669bc Add eslint rule to enforce curlys, run eslint --fix to automatically apply this rule and add swapfiles to gitignore 2019-08-01 12:54:48 +10:00
Beaudan 6113f13d3a Rip the worker logic out of message_receiver and add the functionality for it to work with pow. Fix pow tests to work with those changes 2018-12-13 17:13:52 +11:00
Beaudan c93aff7ebe Setup grunt/yarn etc for loki tests plus wrote first 2 simple libloki-protocol tests 2018-12-10 14:13:54 +11:00
sachaaaaa 04b45f6aa1 Decrypt friend-request messages (the ones using fallback encryption). Moved logic into a new file libloki-protocol.js and concat loki code into js/libloki.js 2018-10-08 15:04:14 +11:00
Scott Nonnenberg 02fbea96c0 Move base64 conversions off of the main thread 2018-08-16 17:39:30 -07:00
Scott Nonnenberg 3105b77475 Migrate to SQLCipher for messages/cache
Quite a few other fixes, including:
  - Sending to contact with no avatar yet (not synced from mobile)
  - Left pane doesn't update quickly or at all on new message
  - Left pane doesn't show sent or error status

Also:
 - Contributing.md: Ensure set of linux dev dependencies is complete
2018-07-31 17:08:45 -07:00
Daniel Gasienica f88ebdf8b7 Compile protocol buffers as part of `yarn grunt dev` 2018-05-07 21:53:40 -04:00
Daniel Gasienica 3796c276ba Organize ignored files 2018-04-30 16:52:43 -04:00
Balázs Keresztury dac1f69c16 Removed duplicate entry from .gitignore 2018-04-26 20:28:47 -04:00
Scott Nonnenberg 23537546fe
Big refactor: ts/ directory for all typescript, including react
Split out test-specific and general utility react components too.

And moved our test/legacy* files for the Style Guide into a styleguide/
subdirectory of test/.

I think we'll be able to live in this directory structure for a while.
2018-04-05 15:30:40 -07:00
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.
2018-04-04 16:08:27 -07:00
Scott Nonnenberg d503d1ace3
Remove built assets from repo, updates to docs + GH templates (#1955)
* Revamp issue and pull request templates, other docs tweaks

`yarn test` now runs all of our tests.

* Remove generated files from the repository

* Update to new Signal support URL

* Prevent the 'Test failed 2 == 1' from test-release in CI

* Another attempt to fix grunt test-release on Appveyor

* grunt test-release: Fail build if test fails

* Lint fix, and move jshint earlier in CI process
2018-01-09 15:31:23 -08:00
Scott Nonnenberg 64fe9dbfb2
Clean logs on start - and eslint/mocha with code coverage (#1945)
* Clean logs on startup; install server-side testing/linting

* Add eslint config, make all of app/ conform to its demands

* Add Node.js testing and linting to CI

* Lock project to Node.js 7.9.0, used by Electron 1.7.10

* New eslint error: trailing commas in function argumensts

Node 7.9.0 doesn't like trailing commas, but Electron does

* Move electron to devDependency, tell eslint it's built-in
2018-01-08 13:19:25 -08:00
Scott Nonnenberg fb7701576e Update autosize, which should fix stack overflow error (#1560)
* Update to the latest version of autosize.js

* gitignore: Restrict 'dist' matches to the root dist folder

The global search for 'dist' caused problems when updateing bower
components.

* A couple minor version updates: ByteBuffer, filesize, intlTel

moment-with-localse, ProtoBuf
2017-10-13 11:44:35 -07:00
David Balatero 7301b94ed3
Ignore dev-app-update.yml 2017-09-14 16:53:50 -07:00
Scott Nonnenberg 5bd460239b
Add release directory to gitignore
FREEBIE
2017-09-14 16:53:49 -07:00
lilia 38b292ef9e
Setup for mas build
// FREEBIE
2017-09-14 16:53:42 -07:00
lilia 7d47b53dc3
Generate icons with electron-icon-maker
Either icon-gen or local scaling of images was producing a corrupted and
glitchy .icns file. With this module, we need only provide a 1024px
image and it handles the scaling and generation of all other icon
assets.

// FREEBIE
2017-09-14 16:53:40 -07:00
lilia e60111f34d
Ignore .DS_Store 2017-09-14 16:53:39 -07:00
lilia bc80e5e3b6
Add local.json to gitignore 2017-09-14 16:53:38 -07:00
lilia 8015dc73e3
Add local config overrides to .gitignore
// FREEBIE
2017-09-14 16:53:37 -07:00