Commit Graph

2153 Commits

Author SHA1 Message Date
in1tiate
0d6b89fa1f
Use global evidence instead of local for display (#1073) 2025-01-23 03:17:11 -06:00
in1tiate
d333934f9b
Fix null pointer exception on motd fetch failure (#1071) 2025-01-23 03:16:56 -06:00
in1tiate
fa94955d4f
Fix legacy position population (#1069)
* Reworked legacy position population
- Changed data structure to a static list of pairs to avoid unnecessary deep copies
- Fixed oversight which caused iteration over the value and not the key of the previous QMap

* clang-format pass :rolling_eyes:

* disambiguate pair order further
2025-01-23 03:16:42 -06:00
in1tiate
764b2f8944
Merge pull request #1067 from AttorneyOnline/cleanup
Very cool and professional cleanup of clazy warnings
2025-01-14 02:31:36 -06:00
in1tiate
a9e2ea1950
Merge branch 'master' into cleanup 2025-01-13 17:30:28 -06:00
in1tiate
ed8bc45735
don't filter out information we have anyway (#1068) 2025-01-13 17:30:17 -06:00
in1tiate
91e15ef484
Merge branch 'master' into cleanup 2025-01-13 17:29:54 -06:00
in1tiate
047742a729
Add the ability to "favorite" songs and pin them to the the top of the songlist (#1066)
* add song favoriting

* remove incorrectly placed sort()

* store as qstringlist instead of using keys
2025-01-13 17:28:56 -06:00
in1tiate
2389ecfa97 avoid loop container detach 2025-01-11 02:27:35 -06:00
in1tiate
dd378d1040 clazy cleanup 2025-01-11 02:25:35 -06:00
in1tiate
dc50839ef1 avoid detaching temporary container 2025-01-11 02:20:19 -06:00
in1tiate
a7d292b8b6 avoid detaching temporary container 2025-01-11 02:19:46 -06:00
in1tiate
0bd3ddf7f0 make regular expression object static 2025-01-11 02:17:51 -06:00
in1tiate
501f2a9dd0 fix static regexps 2025-01-11 02:16:10 -06:00
in1tiate
23467ce54d unused macro 2025-01-11 02:13:46 -06:00
in1tiate
15899e329a remove unused string 2025-01-11 02:12:04 -06:00
in1tiate
f352579a39 use a static QRegularExpression object 2025-01-11 02:11:31 -06:00
in1tiate
896afaef16 use multi-arg 2025-01-11 02:06:02 -06:00
in1tiate
9d88356c0f clazy cleanup 2025-01-11 02:02:16 -06:00
in1tiate
ca660cc439 make range-for const 2025-01-11 01:54:56 -06:00
in1tiate
4dae73c848 use std::as_const instead of qAsConst 2025-01-11 01:45:28 -06:00
Salanto
115c1ccd1d
Update readme content link (#1062) 2024-12-22 08:54:07 -06:00
in1tiate
dc40f78acc
enable external links in server descriptions (#1059) 2024-12-13 09:44:30 +01:00
Salanto
b4cf723e74
Remove RC label (#1054) 2024-11-02 16:51:41 +01:00
Salanto
b3c0e78565
[QoL] Improve client version check (#1053)
* Improve version check

* Add informative warning

* Fix the most critical issue that AO2 has ever encountered

An ugly header include

* Increase verbosity and visibility

* TUH
2024-10-31 12:12:38 +01:00
Salanto
7f17c0b697
Add fonts from mounted folders (#1051)
* Add fonts from all mount paths

closes #980

* Optimise includes

* Woopsie
2024-10-17 15:19:23 -05:00
Salanto
4c22bdc336
Bump version label (#1050) 2024-10-01 23:29:39 +02:00
in1tiate
74e65324ef
i'm annoyed i have to make a merge request for this (#1049) 2024-09-08 11:03:06 +02:00
Salanto
fedf26075a
Fix evidence not being consistently presentable (#1048)
* Fixup evidence presentation code, methink

* Bump RC, because I can
2024-09-08 02:18:12 -05:00
Salanto
0c10f03150
[Feature] Add support for custom playerlist formatting, show all users when authenticated (#1046)
* Playerlist QoL

* Remove excessive whitespaces

* Add placeholder when displayname is unavailable
2024-08-31 13:29:26 -05:00
in1tiate
851b8c6a69
[Bugfix] move effects box reset to reset_ui (#1045) 2024-08-31 15:42:32 +02:00
in1tiate
cbda03ed6c
[Refactor] Update font outline code to account for offsets 2024-08-31 15:24:55 +02:00
Salanto
c4d94cec42
Fix PlayerList and Slide button not showing up (#1041) 2024-08-28 10:34:54 -05:00
in1tiate
dad625ccd4
Explicitly show widgets when positioning them (#1040) 2024-08-25 17:54:32 +02:00
Salanto
552ccc38d6
Update PlayerList to work more akin to WebAO (#1039)
* Add Playerlist label formatter to account for missing args

* Make it less of a visual atrocity
2024-08-25 16:31:16 +02:00
Salanto
50204ec2e2
[Bugfix] Fix slides not applying the X offset during slide position calculaiton (#1038)
* Make slides correctly respect X offset

* Bump to RC4 cause I am cute like that
2024-08-24 15:33:49 +02:00
stonedDiscord
b7dd8984d7
load aceattorney if there is no theme in the ini (#1037) 2024-08-24 15:33:39 +02:00
in1tiate
da7cc77f1f
change default theme variable back (#1036) 2024-08-07 07:03:12 +02:00
Salanto
6a44e09f05
Fix crash in demos due to PU not being recorded (#1032)
Added some guards due to bad demo files being shared by now
2024-08-03 11:39:29 +02:00
Salanto
ac673099e0
Send username when connecting (#1031)
Hack af, but the alternative is breaking compatability on the last mile.
2024-08-02 14:45:47 -05:00
stonedDiscord
f0c594aed8
change the string (#1030) 2024-08-02 20:43:27 +02:00
OmniTroid
0e45f3c0ee
Universal configure script (#1022)
* Init configure.sh

* echo detected platform

* Implement check_command

* Implement install_bass_macos, plus checks

* Ignore tmp

* Add configure main function and bass installs

* Less functions

* Reformat file, add some stuff

* Start adding automatic qt detection

* Curl is more portable it seems

* Try finding Qt's bundled cmake

* fix cmake command checking

* Reorder to windows first

* do not download deps if already present

* Add configure clean

* Fix basic command checks

* cmd fixes

* thank you bash, very cool!

* fix file shenanigans

* unneccessary comment

* Use qt_path instead of qt_cmake

* Ignore apng folder

* Rework with QT_PATH

* Move find_qt to the top

* move check_command near the top

* Tidy up command checking

* Rename QT_PATH to QT_ROOT and call the qt installation path QT_PATH instead

* only clone qtapng if no dir

* Cmake shenanigans

* Fix build with ninja

* Fix apng cp cmd

* Fix apng check

* Just call it cmake

* Run cmake in configure.sh

* Ignore generated files

* Comment out mega cmake command

* Fix apng check

* more cmake stuff

* make the cmake command we use very clear

* ignore cmake_cmd.txt

* Note that linux and macos is not supported

* Update README

* Add some stuff to windeployqt

* Clone themes

* macos fixes

* Only call windeployqt on windows

* Linux fixes

* Remove linux todo comment

* Remove git stuff from themes checkout

* Note about vanilla content..

* Add note about formatting in readme

* Remove e flag so script doesn't stop with no error messages

* Note about toolchains on unix-likes

* Fix cmake path on linux

* Rework get_zip for better error handling and less unzipping unnecessary files

* Adjust get_zip calls

* Hopefully make error handling more robust

* Fix bassopus on linux

* linux bassopus pathing fix

* Fix discord rpc linux

* Add note about opengl

* Ignore test_aopacket

* Tidy up readme a bit again

* Remove old configure scripts
2024-07-31 13:40:43 +02:00
Salanto
4d1b0517e3
V2.11.0 rc1 fixes (#1029)
* Use unix timestamp to transmit ban duration

* Cleanup compiler warning due to narrowing conversion

* Fix preanim not being visible

This is apparently not a feature we want from WebAO :^)

* Bump to RC2

* Use std::chrono instead

* Remove random include and debug call
2024-07-31 11:55:25 +02:00
Salanto
e82726ba5b
Attorney Online 2.11 Release Candidate 1 (#1026)
* Version bump and minor fixes

* Remove unecessary headers

Thanks QtCreator
2024-07-21 18:54:52 +02:00
Jumbowl
0c3a4259ab
Evidence Display Hack (#1021)
Does not display the evidence "shoop" effect when you're presenting the same piece of evidence multiple times.

Co-authored-by: JumsAOMems <nmjamesbutler@gmail.com>
Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
2024-07-21 09:36:14 -05:00
OmniTroid
ec914d9047
FIx several compiler warnings (#1025)
* Do not use deprecated QAbstractSocket::SocketError

* Do not use deprecated ::location

* Do not discard translation load return value

* Use static function calls where applicable

* Remove unused include

* Remove qt6 check

* Remove deprecated type()

* Remove qt6 check

* Use typeId instead of deprecated type

* clang-format fix
2024-07-21 16:34:23 +02:00
Leifa
4129c1ffda
Fix slide position overriding when it shouldn't (#1023)
* Fix slide position overriding when it shouldn't

* Cover all positions instead
2024-07-19 13:20:21 +02:00
Leifa
640b026534
Playerlist fix (#1018)
* Commit

* Boyfailure code commit

* Cooking code spaghetti

* Accidental overwrite recursive function call hell

* Implemented player list

* Add partial moderator widget

Sleepy time! Hee-Hoo!

* Moderator Dialog - Step 1 - WIP

* Appease the clang gods

* Clang appeasement policy

* *sacrifices goat to clang*

* Added player report, reworked implementation, ...

* Added player-specific report
* Reworked implementation
  * No longer uses JSON.
* Removed preset loader.

* Remove unused code.

* Safety measures against potential segfault.

* Removes unused code

---------

Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
2024-07-14 16:25:25 +02:00
Leifa
23077d0291
Resize mode patch (#1019)
* Fix transformation mode for layers

Resolve #997

* always use smooth transform resampling for stretched images

* Used fixed frame size

* Implemented resize mode changes

Resolve #999

* Added alias to pixel resize mode

* Added user option

---------

Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
2024-07-13 15:31:51 +02:00
in1tiate
a09712cc4d
Update "about" dialog (#1020)
Update username for major contributor scatterflower
Add credit for akashi
2024-07-13 12:08:11 +02:00