pezcurrel
|
3f86fc689b
“$instanswered” got set to true if nodeinfo responded; now it gets set to true only if api/v2/instance or api/v1/instance responded
|
преди 1 година |
pezcurrel
|
1d754f9588
Fixed getlangid: it used $lang instead of $code
|
преди 1 година |
pezcurrel
|
95bd83786e
Fixed a bug that caused “languages” to be always saved as “ourlanguages”
|
преди 1 година |
pezcurrel
|
6f296a1d27
Fixed writing langs ids to InstOurLangs; made detected languages fall back to declared languages when they can't be detected
|
преди 1 година |
pezcurrel
|
fa97078fe4
Passing calling __LINE__ through getlangsidsarr and getlangsid the right way
|
преди 1 година |
pezcurrel
|
87fbbbd2f9
Added validity check on declared and detected lang codes to getlangid function - when lang code is not valide it falls back to “en” default; added a getlangsidsarr function to cope with possible dupes and spare code
|
преди 1 година |
pezcurrel
|
24b9f9b911
Made it canonicalize lang codes in getlangid
|
преди 1 година |
pezcurrel
|
a4486403c7
Made language fetching normalize language code to a form with _ insted of -
|
преди 1 година |
pezcurrel
|
a4215c943d
Added a notify() to getlangid() to be done if Languages contains more than 1 record with given language code
|
преди 1 година |
pezcurrel
|
0c2f4e6b27
Added “intness” check on values from “tag trands history”
|
преди 1 година |
pezcurrel
|
b8e84c72c5
Fixed a misleading comment
|
преди 1 година |
pezcurrel
|
b40e474e76
Added code to set TotChecks and OkChecks
|
преди 1 година |
pezcurrel
|
f2d4119dfa
Fixed bug on domain block entity format check
|
преди 1 година |
pezcurrel
|
b39eafdb80
Fixed getlangid missing $opts; fixed array_pop on inexistent $languages var
|
преди 1 година |
pezcurrel
|
ec33912ff8
Restructured a bit the language management code
|
преди 1 година |
pezcurrel
|
db749d2e7d
Consider the possibility that “our languages” have been locked
|
преди 1 година |
pezcurrel
|
b929d06302
Don’t INSERT an instance if it did not respond: it was useful before instance “deadness” was autonomously managed by peerscrawl.php
|
преди 1 година |
pezcurrel
|
e8d588c0f2
Refactored language management
|
преди 1 година |
pezcurrel
|
2b37228a1c
Fixed some flaws in detecting if Thumb and AdmAvatar are to be set to “unavailable”; fixed “noindex” logic, now it also explictly set AdmAccount to special “OPTED OUT” value when noindex=true
|
преди 1 година |
pezcurrel
|
6f5de9730e
When server thumb or admin avatar are unavailable, set them to “unavailable”
|
преди 1 година |
pezcurrel
|
ce66aa56e9
Added instance blocks support
|
преди 1 година |
pezcurrel
|
c0b9c19469
Added keys check on instance info fetched from api v2 and v1; subordinated language checks to “$instaswered”; made get_toot_languages better cope with possible errors
|
преди 1 година |
pezcurrel
|
f7f1ac4cb2
logfile has .gii.log extension, handy to select only these files when run from crawler.php
|
преди 1 година |
pezcurrel
|
463ef7cd37
Removed a dangling “}” which was breaking the script
|
преди 1 година |
pezcurrel
|
3c1621df1d
Added “LastOkCheckTS” to $instints (array of Instances columns of integer type)
|
преди 1 година |
pezcurrel
|
1e1b2a99e9
Dropped Instances.Dead, using Instances.LastOkCheckTS now instead
|
преди 1 година |
pezcurrel
|
95b9ccfc31
Renamed “LastCheckOk” to “WasLastCheckOk”
|
преди 1 година |
pezcurrel
|
00caa1dcb9
Changed default for “deadline” option from 62 to 31 days
|
преди 1 година |
pezcurrel
|
5312aea0cc
Added writing server rules in the db
|
преди 1 година |
pezcurrel
|
1d0c6b799a
Small edit to “logminmsglev” and “tuiminmsglev” TUI option parsing errors
|
преди 1 година |