1bad2fa050
[TESTS] Fix wrong namespace in tests
2021-04-22 18:26:00 +00:00
051720a686
[TESTS] Add tests to all relevant methods under App\Util and fix errors that popup
2021-04-14 15:37:24 +00:00
aa58c3520c
Duplicate src/Util/Exception/NicknameTooLongException.php history in src/Util/Exception/NicknameTooShortException.php history.
2021-04-14 15:37:24 +00:00
cafd9a39a0
[TESTS] Add tests of Common and fix small oddities that pop up
2021-04-14 15:37:24 +00:00
120011a2d0
[TESTS] Fix error when testing cold redis cache
2021-04-14 15:37:24 +00:00
c8b2ce6694
[TESTS] Add tests for the bitmap utility and fix implementation
2021-04-14 15:37:24 +00:00
f11f9040b1
[TESTS] Add App\Core\Cache test
2021-04-14 15:37:24 +00:00
99c4e8ded5
[TESTS] Fix deprecations
2021-04-14 15:37:23 +00:00
ffaf5da984
[TESTS] Fix unkept unit tests
2021-04-14 15:37:23 +00:00
49fa11ba07
[TEST] Fix translation test
2021-04-14 15:37:23 +00:00
Daniel
7a925cd9a6
[Poll] Added modified param for Poll/Poll response, added PollTest
2021-04-14 15:37:23 +00:00
Daniel
0868880d45
[TESTS] Added unit tests
2021-04-14 15:37:23 +00:00
Angelo D. Moura
5ec7e2e092
[TWIG] Moves the SVG custom function to an extension and change the test regex
2021-04-14 15:37:23 +00:00
Angelo D. Moura
b60185a97c
[TWIG][TESTS] Update IconsExtension test
2021-04-14 15:37:23 +00:00
Angelo D. Moura
cacd9a574d
[TWIG] Add SVG icon embed function
2021-04-14 15:37:23 +00:00
Diogo Machado
5a7b895476
[DB][TESTS] Implement Doctrine event listener to update timestamps on modification, and related tests
2021-04-14 15:37:23 +00:00
Hugo Sales
0ecb164e2e
[TESTS][I18N] Added test for I18n::_m and I18nHelper::formatICU
2021-04-14 15:37:21 +00:00
Diogo Cordeiro
4efbf9361c
[DOCUMENTATION][TOOL] Small bug fixes and docblock elaboration
2021-04-14 15:37:20 +00:00
Hugo Sales
6546c088d9
[DOCTRINE][SCHEMADEF] Create a new metadata driver to allow us to continue using static schemaDef functions
...
This has the benefit of requiring fewer code changes, as well as providing a better isolation
between GNU social and symfony, useful in case the framework needs to be changed
2021-04-14 15:36:35 +00:00
Hugo Sales
86b5bfe075
[V3] Big Bang
...
Beginning anew, this time with a modern framework: symfony
2021-04-14 15:36:35 +00:00
f01331671c
[V3] Big Crunch
...
And so, just as it begins, so too must it end
One should not dwell and stall, for more is to come
2021-04-14 15:36:13 +00:00
Alexei Sorokin
08145f635f
Implement a class for automatic temporary file handling
...
And adopt it all over the code.
2020-09-04 13:15:23 +03:00
Diogo Cordeiro
e8dff6c4a0
[TESTS] Move AcceptHeader from ActivityPub plugin to Core
...
Delete temporary ActivityPub tests (they were to be deleted long ago)
2020-06-25 15:50:12 +01:00
Diogo Cordeiro
324b7f38a9
[FORMAT] Run php-cs-fixer on tests/
2020-06-24 13:55:10 +01:00
Diogo Cordeiro
aa7aff3f6b
[TESTS] Fix CommandInterpreterTest
...
Also corrected a bad refactoring that affected Xmpp plugin test
2020-06-24 13:54:38 +01:00
Miguel Dantas
b41f9620fa
[LIB_REFACTOR] Fix requires
2019-09-03 03:33:13 +01:00
Diogo Cordeiro
0c2c3ec862
[CORE] Plugin API now extends a new Module API
2019-08-24 01:59:33 +01:00
Diogo Cordeiro
db3253e5d2
[CORE] Bump PHP requirement to PHP7.3+
2019-08-03 17:49:36 +01:00
Diogo Cordeiro
d9e7862cea
[CORE][COMPOSER] Ensure we are compatible with PHP 7.0.0
2019-08-03 17:47:27 +01:00
Diogo Cordeiro
9f30c299ee
[CORE] Make tests great gain
2019-08-03 17:47:27 +01:00
Diogo Cordeiro
ec32db2dd6
[CORE][COMPOSER] Add hoa/consistency
...
Renamed curry to callable_left_curry
2019-08-03 17:47:27 +01:00
Miguel Dantas
4863bd30d7
[CORE] Fixed Media tests
2019-08-03 17:31:43 +01:00
mmn
550606177b
Merge branch 'fixtests' into 'nightly'
...
Got Old Unittests Passing
See merge request !131
2017-04-06 10:23:12 +00:00
Roger Braun
8c6c6039a2
Test for correct post object in retweets.
2016-12-05 18:24:13 +01:00
Nym Coy
1f866fcaed
ActivityGenerationTests.php fails but doesn't crash anymore.
...
Fixed an error where a profile id was reused after another profile was
deleted, and the new profile still had the deleted role.
Fixed ActivityGenerationTests::testNoticeInfoRepeated() which was passing
User instead of Profile, throwing errors.
tests/ActivityGenerationTests.php now passes.
CommandInterpreterTest now passes.
Moved JidValidateTest to XmppValidateTest, since Jabber functionality has
moved to the XmppPlugin. Tests work but don't pass, but they are at least
skipped if XmppPlugin is not active.
LocationTest passes, but the tests are not very good. Lots of nulls.
MediaFileTest passes.
NicknameTest passes. Nickname::normalize() now throws an error if the
nickname is too long with underscores.
UserFeedParseTest passes.
URLDetectionTest passes if $config['linkify']['(bare_ipv4|bare_ipv6|
bare_domains)'] are false. Untested otherwise.
Fixed Nickname::isBlacklisted() so it does not throw an error if
$config['nickname]['blacklist'] not set.
2016-08-14 11:55:49 +05:30
Mikael Nordfeldth
afdd6d39ec
Some Google stuff that need to be there (or comments)
...
Note that these won't be shown to the enduser and will never be accessed automatically.
We should put the salmon-protocol stuff on ostatus.org
2016-03-21 12:25:04 +01:00
Bob Mottram
11c57e7aee
Remove Google References
...
This removes most references to Google, with some
remaining since they may point to things which are still
relevant. References to Google Code, Google Buzz and
Google Maps have been removed
2016-03-20 13:06:58 +00:00
Bhuvan Krishna
1ab4c9998a
Add executable permission to script missing it
2015-07-10 14:46:08 +05:30
Mikael Nordfeldth
7e597ea7cc
More Favorite pluginification (favecount, cache, menus(favecount, cache, menus))
2014-06-28 14:03:30 +02:00
Mikael Nordfeldth
fcdd061b4f
pluginified most of hasFave, getFaves and related calls
...
The code is now more event-driven when it comes to rendering notices
and their related HTML elements, since we can't have direct calls from
core to a plugin.
lib/activitymover.php has a function to move a Favorite activity which
will not happen now. The move must be pluginified and performed as an
event which plugins can catch on to.
2014-06-27 14:09:02 +02:00
Mikael Nordfeldth
b0cc9292b1
Notice->repeat() function takes Profile as argument now
2014-05-18 21:03:10 +02:00
Mikael Nordfeldth
1776c90cb9
Moved oEmbed stuff out to a plugin (Oembed).
2014-05-06 23:32:13 +02:00
Mikael Nordfeldth
27ed6b7db0
getConversationUrl introduced for linking to conversations
2014-05-01 15:25:19 +02:00
Mikael Nordfeldth
7d191f8062
s/bestUrl/getUrl/ for notices and microapp objects
2014-04-29 19:46:58 +02:00
Mikael Nordfeldth
5fd6053220
Code cleanup and enabling User object's etc. getUri()
2014-04-28 14:08:42 +02:00
Mikael Nordfeldth
6faed0e451
MediaFile loses dependency on PEAR::MIME
...
At the same time we remove the "filecommand" setting, since we will
likely not have use of it thanks to PECL fileinfo.
Also the "supported" list for attachment mime types has changed
format, so we can keep track of at least some known file extensions.
2014-03-08 03:34:50 +01:00
Mikael Nordfeldth
6f6065e5e9
Only accept filenames for existing files in getUploadedFileType
...
Getting metadata from filehandles just meant duplicating work
2014-03-08 01:42:24 +01:00
Mikael Nordfeldth
23a6b4595f
Reworked the ActivityContext->attention structure
...
Removing Evan's obscure attentionType solution and directly using the attention array
2013-10-28 22:21:14 +01:00
Mikael Nordfeldth
8004849305
Removing rel='ostatus:attention' in favor of Salmon's rel='mentioned'
...
This was introduced in StatusNet 0.9.x, which is the oldest branch
on the web today as far as I know.
2013-10-21 18:42:15 +02:00
Mikael Nordfeldth
3cab5b36c1
Replace common_good_random with common_random_hexstr
2013-10-21 13:20:30 +02:00