Commit Graph

3956 Commits

Author SHA1 Message Date
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
eb5f791cb6
Finalize invalid stream handling:
- prioritize the check for invalid stream
 - use BMObjectInvalidError exception, remove unused classes
2022-08-01 00:19:40 +03:00
69e540b504
Define stream number validity 2022-07-31 19:54:37 +08:00
bb7d8018c6
Fix handling of objects from unwanted streams 2022-07-31 19:27:05 +08:00
20ce69b337
Add enableAddress API command and a check for sending from disabled address 2022-07-26 03:28:05 +03:00
b25ed553bc
Format for PEP8 test_api and samples (almost) 2022-07-26 03:28:05 +03:00
e12e9c4155
Add exception type in HandleSendMessage and HandleSendBroadcast
and API error 14 in HandleSendBroadcast.
2022-07-26 03:28:05 +03:00
f311d9d25c
Add a check for sendBroadcast API command with nonexisting address 2022-07-26 03:28:05 +03:00
142514755f
Workaround recent m2r bug: https://github.com/CrossNox/m2r2/issues/40 2022-07-22 06:04:58 +03:00
f58fb505ea
Add Address doc. Closes: #1727. 2022-07-20 17:24:31 +03:00
03d9663caa
Replace behavior bitfield by ref 2022-07-20 17:24:31 +03:00
5ced85113a
verack section: emphasis and reference to Message structure table 2022-07-20 17:24:31 +03:00
9dc6416a16
Finish broadcast object type 2022-07-20 17:24:31 +03:00
f5ba7a6dc0
Unencrypted Message Data section, msg object type and refs 2022-07-20 17:24:31 +03:00
08f00d7d6a
More object types 2022-07-20 17:24:31 +03:00
d273e64b76
Finish message types 2022-07-20 17:24:31 +03:00
990aa36f5c
More text and useragent doc 2022-07-20 17:24:31 +03:00
c9c91b3e7a
Message Encodings section and extended_encoding doc 2022-07-20 17:24:30 +03:00
d88e1301e2
encrypted_payload.rst and encryption.rst docs, crossreferences 2022-07-20 17:24:30 +03:00
2b69288540
Added PoW doc, separate pow_formula.rst and reference in protocol.rst 2022-07-20 17:24:30 +03:00
c0657f61dd
Update docs copyright line 2022-07-20 17:24:30 +03:00
0a493eef82
Started formatting the Protocol Specification:
in index.rst README.md is splitted in two parts - References now in the
bottom of the page; protocol.rst is the separate file, referenced on top.

Closes: #1033
2022-07-20 17:24:30 +03:00
ffe70350c7
Bypass the docker cache 2022-07-20 03:50:35 +03:00
10cf5b06fd
Remove obsolete travis config for kivy 2022-07-18 14:34:04 +03:00
a38790da60
Cleanup kivy test recipe:
- reuse requirements, follow KivyMD doc
  - remove unneeded packages
  - explicitly run python3 in test.sh
  - use pip for installation
2022-07-18 14:33:33 +03:00
aa512d0066
Call snapcraft in build.sh, not test.sh and bypass cache once more 2022-07-17 22:33:12 +03:00
f720919abd
Fix telenium_process 2022-07-15 12:03:29 +05:30
7371827a8f
A buildbot scenario for building the snap 2022-07-14 18:14:20 +03:00
b257accb81
Add tor 2022-07-14 18:14:19 +03:00
c203f196a5
A snapcraft recipe.
Forced to add description and summary because parse-info didn't work.
Used git source because snapcraft expects different directory layout.

Closes: #1906
2022-07-14 18:13:49 +03:00
39793dfac8
Add trash query for sent box 2022-07-14 13:12:27 +05:30
2b629ee0e9
Exclude more unused debs from appimage recipe 2022-07-12 20:33:38 +03:00