Commit Graph

3937 Commits

Author SHA1 Message Date
71a390b578
Add kivy mock network and update setup file 2022-09-01 13:11:30 +05:30
Jeroen van Bennekum
12de1fc3f0
Removed 33 E501 line-too-long errors from pycodestyle (3 left).
Fixed some other styling issues too.
2022-08-31 14:52:48 +02:00
99be6bbf73
Detect onion services in protocol in the same way as everythere 2022-08-30 17:22:53 +03:00
72fc95b806
Fix filter in TCPConnection.sendAddr() preventing from sending IPv6 addresses 2022-08-30 17:22:53 +03:00
6cf2340f0f
Update method/function name of common.py 2022-08-30 14:01:47 +05:30
d6356b596c
Update id names in main.kv 2022-08-30 12:19:35 +05:30
cdbe877d0e
Add file manager variable to kivy_state 2022-08-29 21:25:48 +05:30
54059992eb
Add kivy helper search file 2022-08-29 15:04:37 +05:30
35a926f604
Update logging imports 2022-08-29 12:48:26 +05:30
be6adecf38
Kivy now requires Python 3.7+ so i bump ubuntu to focal 2022-08-29 12:35:56 +05:30
1fd60d330c
Add Pillow to kivy-requirements 2022-08-26 17:33:44 +05:30
1768db5a32
Add identicon generator to generate default profile picture 2022-08-26 12:13:20 +05:30
8ba851569e
Update kivy imports 2022-08-25 12:51:46 +05:30
fc18d3c84a
kivy mock android build 2022-08-25 12:24:03 +05:30
b1aea586ea
Add bitmessagekivy inside packages 2022-08-24 19:39:17 +05:30
c829b44842
Add Separate base navigation module for NavigationApp 2022-08-24 15:23:16 +05:30
Jeroen van Bennekum
ea2fdf0dcf
Fixed flake8 messages for bitmessageqt/bitmessageui.py.
Fixed some spaces around operators. Fixed line length errors. Removed
unused comment (since 2016) and unused import (since 2012).
2022-08-24 15:08:51 +08:00
Teruteru
e983c23fa6
Fix broken link 2022-08-24 00:02:26 +09:00
6dee19fe26
ffmpeg be quiet
- otherwise buildbot won't let tests timeout
2022-08-19 18:47:22 +08:00
51378a75bc
Update screen id name for generating new and random address 2022-08-18 12:11:33 +05:30
af6953b916
Add images and icons used in Kivy App 2022-08-17 15:22:10 +05:30
c6a004367a
Add method content lenght function 2022-08-17 13:04:53 +05:30
328d5af3ec
Separate common_detail_screen() to avoid the circular import 2022-08-17 13:04:52 +05:30
c2281409e0
Add common method for all mail folder to get mail detail screen 2022-08-17 13:04:52 +05:30
c0ae18e452
Update widget id names in login screen 2022-08-17 12:22:42 +05:30
bd33361b0b
Fix Screen_data.json 2022-08-16 13:24:08 +05:30
746e25c752
Add support for startonlogon in appimage 2022-08-14 01:14:06 +03:00
4711dfdd93
Use $APPIMAGE to determine exe folder and enable portable mode for AppImage 2022-08-12 05:30:18 +03:00
5efd072deb
Add identity_list instead of variable_1 2022-08-10 14:40:33 +05:30
cb72b65264
Add Kivy default image path to kivy_state.py 2022-08-10 13:33:46 +05:30
c1e514d13c
Add kivy uisignaler 2022-08-10 13:16:28 +05:30
8124e6f3b8
Change screen id to make it readable 2022-08-10 12:03:55 +05:30
8214c74487
Code quality issues with kivy upload 2022-08-10 11:15:21 +08:00
e5e9955cd9
Record telenium/kivy video
- add a ffmpeg process to kivy tests if it detects running inside docker
- this approach can be reused for other tests that may benefit from a
  video
- it may be possible to do this in bash, outside of python, but that
  would exacerbate the process synchronisation issues, as outlined here:
  - X server must be running before ffmpeg starts, otherwise ffmpeg
    can't record and quits
  - ffmpeg must end before the X server ends, as otherwise it segfaults
    and video will be incomplete
  - ffmpeg must start before the actual tests start and stop after the
    tests stop, otherwise a part of the tests will be missing from the
    recording
- this approach I chose here avoids most synchronisation issues.
  If ffmpeg takes more than 2 seconds to start recording (unlikely), a
  part of the video will be missing. Also if for some reason ffmpeg is
  too slow, then also we may end up with a truncated video, at the end.
- I chose lossless vp9 codec with webm format, this appears to work on
  firefox and chrome. Safari refuses to show the video even though it
  should be supported.
2022-08-09 22:35:55 +08:00
d85c62a64b
Test snap upload 2022-08-08 16:33:43 +08:00
66239e1aa3
Add kivy screens_data.json 2022-08-08 11:52:27 +05:30
78e16e61a0
Build tests into the windows bundle if DEBUG=True is set in pyinstaller spec 2022-08-07 17:36:21 +03:00
6310fc8919
Dry run both windows executables - downgrade PyInstaller to 3.5 for win64 2022-08-07 17:36:21 +03:00
8652fef620
Fix trying to decode str on windows 2022-08-07 17:36:21 +03:00
722f275172
Skip TestProcess.test_listening() on wine 2022-08-07 17:36:21 +03:00
a3214b8eea
Define TestSocketInet class
doing helper_startup.fixSocket() in setUpClass - to be inherited by
any test case using protocol.encodeHost().
2022-08-07 17:35:49 +03:00
d41503ee8a
Redefine VERSION_EXPANDED from pkg2appimage functions.sh 2022-08-03 17:03:46 +03:00
eb43f2c068
Add a container for building snap 2022-08-03 17:03:46 +03:00
3cbd77f194
Add a stage winebuild for building 32bit exe 2022-08-03 17:03:46 +03:00
6b25a5481f
Move the appimage build to CMD, packages will be in /dist/ (run -v) 2022-08-03 17:03:46 +03:00
e048905b8b
Move appimage dry run into buildscripts/appimage.sh like in winbuild 2022-08-03 17:03:46 +03:00
4b8d04c420
Rewrite Dockerfile.bionic:
- install needed dependencies separately in each stage
  - make appimage the first stage because it needs minimum packages
  - replace travis2bash by tox
2022-08-03 17:03:46 +03:00
60fd56748f
Update the script for testing in docker container:
- don't require bash
  - mark appimage stage
  - use --no-cache if docker build fails
  - remove container after running the tests
  - use tty for colorful output
2022-08-03 17:03:12 +03:00
fd7a6f8fee
Update kivy loader 2022-08-01 17:50:38 +05:30
36c2a80060
Mock multiqueue
- kivy mock now uses a mock multiqueue, as the existing code didn't
  handle all problems. For example, trying to load OpenSSL currently
  crashes on my M1 Mac, so I can't even add an exception handler to fall
  back. With this patch, the kivy_mock simply forces a fallback to Queue
2022-08-01 19:11:01 +08:00