WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: WIKI and FORUM BUG REPORTING  (Read 2999 times)

Offline rhermsen

  • Jr. Member
  • **
  • Posts: 85
Re: WIKI and FORUM BUG REPORTING
« Reply #45 on: October 04, 2022, 01:44:54 PM »
Actually I only expected some text differences, but those quotes became clear.


Missed a few changes.

Code: [Select]
If package has no dependencies do not submit any file but in email please alert tcz checker that there are no dependencies. You can also create an empty .tcz.dep file if your extension has no dependencies.changed to:
Code: [Select]
If package has no dependencies, do not submit a .dep file but in email please mention that there are no dependencies.
Code: [Select]
Send the resulting extension.tar.gz file to tcesubmit _at_ gmail _dot_ com.changed to:
Code: [Select]
Send the resulting extension.tar.gz.bfe file to tcesubmit _at_ gmail _dot_ com.
Code: [Select]
Files part of an extension package are Gmail neutral and accepted for delivery, no need to encrypt. For more details, read the guildelines forum thread.changed to:
Code: [Select]
For more details, read the submission guidelines thread.
« Last Edit: October 04, 2022, 01:51:10 PM by rhermsen »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7181
    • My Community Forum
Re: WIKI and FORUM BUG REPORTING
« Reply #46 on: October 05, 2022, 02:42:48 AM »
I have an old SMF forum running 2.1.2 migrated from 2.0.x Works fine, has some nice new features, e.g. much more mobile friendly. It would be good to make a trial update on a backup copy.

@Béla: Is this 2.1.2 copy your running, by chance, using the VECTOR template?  ("...mobile friendly" only applies if the template is also made to be so; if you have a working VECTOR and it's mobile compatible, I'd appreciate a copy!)  The Tiny Core "light blue" template is based on this "Vector."

Hi

It is the wide_rc4_1 template. You can try at https://xham.myiot.hu without login. By default it is in Hungarian but I can create an account for you default to English.

Best regards... Béla
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1431
Re: WIKI and FORUM BUG REPORTING
« Reply #47 on: October 05, 2022, 05:53:15 AM »
@Béla: When we're done with the wiki and forum integration (2.0.19) and everyone's happy with the outcome, we'll see about building a 2.1.2 version using the default template and then attempting to mold the Vector template on top of that, as it's possible it's the Vector template that prevented the 2.1 upgrade.

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1431
Re: WIKI and FORUM BUG REPORTING
« Reply #48 on: October 05, 2022, 06:50:09 AM »
I think a better solution of doing this is to use wget -r to follow links and download all from web archive.  Then doing some diff, or another way of compare.
And then cut that part from the html files that belongs to web archive.
Cut the url's that has been appended with web archive url.
Make use of your regex magic.

Okay, Mr. @PatrikG...  it's your project!! :)  Brain-storm with @rhermsen and the rest of the community to see what you guys can come up with and post your findings here, if you would!  When looking at the Way Back Machine, please bare in mind that content formatting is a bit of a brain-sore to remember, so use the DokuWiki Dokumentation for a reference.

On our end, an example URL would be wiki:ab for the wiki page on the App Browser.
The URI of wiki:ab tells the site to read the file ab.txt in the wiki directory.
Inside wiki/ab.txt is the following:
Code: [Select]
======ab======
AppBrowser

Shell script front-end to various application functions.

Note: in TinyCore version 4.6, this utility has been renamed to [[App browser|tce-ab]]\\
( See [[http://forum.tinycorelinux.net/index.php/topic,13933.0.html|release-notes]] in forum; bullet nr 7 )
Note: there is also the "tce" command which is simply a symbolic link to tce-ab (or vice versa ).

Attached to the new forum topic/table ("WIKI RECOVERY") is a ZIP file that contains all of the pages we were able to recover from the old server.
If anyone would like to join in, we'd love to see Wiki back up to her former glory so all hands are welcome!!

Take care!

Offline patrikg

  • Hero Member
  • *****
  • Posts: 512
Re: WIKI and FORUM BUG REPORTING
« Reply #49 on: October 05, 2022, 10:29:07 AM »
@CentralWare
I think i have some type of solution but i have to wait i little bit when the thing is done.

Report of the thing is coming.



Offline patrikg

  • Hero Member
  • *****
  • Posts: 512
Re: WIKI and FORUM BUG REPORTING
« Reply #50 on: October 05, 2022, 01:26:54 PM »
I think we can use some good programmer from the forum, to translate the wayback html files back to the correct syntax for the DokuWiki.

I am not any "programmer" myself.
But typing in some bash/python3 scripts.
Now more and more using python3, because of that being very popular interpreting language. 

Where should I post the big file to ??

Packed with 7zip with the html files and pictures.

Offline patrikg

  • Hero Member
  • *****
  • Posts: 512
Re: WIKI and FORUM BUG REPORTING
« Reply #51 on: October 05, 2022, 02:10:52 PM »
And I also think the forum has hits of upload hacking attempt, the way of the lib directory seems to be build. Some type of XSS.
« Last Edit: October 05, 2022, 02:13:37 PM by patrikg »

Offline patrikg

  • Hero Member
  • *****
  • Posts: 512
Re: WIKI and FORUM BUG REPORTING
« Reply #52 on: October 05, 2022, 02:40:07 PM »
The files isn't so big, it's only 27MiB.
Sorry for spamming the forum with text :)

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1431
Re: WIKI and FORUM BUG REPORTING
« Reply #53 on: October 06, 2022, 12:45:43 AM »
I am not any "programmer" myself. 
My 13 year old quotes things like this all the time.  About two weeks ago I heard "...but, Dad, I'm not as smart as you..."  (Heartbreaking.)
Bash/ash/etc....  Python...  you'd be surprised what you could accomplish with just one, let alone both resources.
You're not a brick-layer if you don't use your bricks...  You're only a good one with practice, patience and perseverance!
(C)opyright 2022 By Dad.  Add it to the volumes of endless wisdom, 99.98% of which likely falls upon limited audible reception!

Let's see...
https://web.archive.org/web/20200208152141/http://wiki.tinycorelinux.net/wiki:installer <-- wiki:installer is the path:filename(.txt)
View --> Source
Search for "<!-- start rendered wiki content -->"  This should be the starting flag of the wiki content.
"<!-- end rendered wiki content -->" is the end of it

Sure, this looks as though it shouldn't be too difficult to convert Wayback to DokuWiki
  • WGet Mirror the way-back site content
  • Scan through the HTML files for the two flags above, delete unrelated files
  • If both flags exist, strip the URI to determine the Wiki Page (path/filename)
  • Extract the content between the flags into the associated file.
  • Loop through the text files and replace <p></p> with LFs, <b></b> with **, etc. and strip <a> links to remove way-back text prior to http://
« Last Edit: October 06, 2022, 01:22:36 AM by CentralWare »

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1431
Re: WIKI and FORUM BUG REPORTING
« Reply #54 on: October 06, 2022, 12:48:33 AM »
The files isn't so big, it's only 27MiB.
Sorry for spamming the forum with text :)
What I usually try to do for large files is store them online (such as Google Drive) and then paste a link to the shared file.  The forum (intentionally) has a very small upload limit.

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1431
Re: WIKI and FORUM BUG REPORTING
« Reply #55 on: October 06, 2022, 12:49:54 AM »
And I also think the forum has hits of upload hacking attempt, the way of the lib directory seems to be build. Some type of XSS.
Please post a link for anything you come across which does not seem to be acting properly.  Screen-shots if you're doing something "normal" and it does something unexpected.

Offline patrikg

  • Hero Member
  • *****
  • Posts: 512
Re: WIKI and FORUM BUG REPORTING
« Reply #56 on: October 06, 2022, 04:01:43 AM »
Sorry for little confusing, what i mean was not the forum, what i mean was the wiki, when talking about the hack attempt.

 

Offline patrikg

  • Hero Member
  • *****
  • Posts: 512
Re: WIKI and FORUM BUG REPORTING
« Reply #57 on: October 06, 2022, 04:47:50 AM »
The files isn't so big, it's only 27MiB.
Sorry for spamming the forum with text :)

Now the file is ready for someone that have some time left, and have some good programming experiences to do the thing.

Here the file checksum, so you can see that the file is not compromised.

md5sum wiki.7z
c86e9bcfbb50dcdb31023dbdb3e20a84  wiki.7z

Here's the link, wait i little bit and then file will be there for you.

https://drive.google.com/uc?id=1Wt243KQnxKFFlrHy0YuNDUmSfCd3i30A&export=download

« Last Edit: October 06, 2022, 05:15:54 AM by patrikg »

Offline mocore

  • Sr. Member
  • ****
  • Posts: 363
  • ~.~
Re: WIKI and FORUM BUG REPORTING
« Reply #58 on: October 16, 2022, 11:51:23 AM »

  ???

trying to browse :    Off-Topic - Tiny Core Lounge

first showed this structure ( * / ** replaces actual values )

Quote
Array ( [session_value] => ** [session_var] => ** [mc] => Array ( [time] => ** [id] => ** [gq] =>  [bq] =>  [ap] => Array ( ) [mb] => Array ( ) [mq] =>  ) [BB2_RESULT] => [ban] => Array ( [last_checked] =>  [id_member] =>  [ip] => * [ip2] => * [email] => * ) [log_time] => * [timeOnlineUpdated] => * [old_url] => https://forum.tinycorelinux.net/index.php/board,20.0.html [USER_AGENT] =>  (X11; ; rv:)  [last_read_topic] => * [post_vv] => Array ( [count] => 4 [errors] => 0 [did_pass] => [q] => Array (
  • => 4 )
    Code: [Select]
    => * ) [login_SMFCookie] => **:{*;} [id_msg_last_visit] => * [unread_messages] => * [last_ss] => ** [search_cache] => Array ( [id_search] => * [num_results] => 0 [params] => * ) ) [/quote]

    then after another refresh
    > error : syntax error missing ';'


Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1431
Re: WIKI and FORUM BUG REPORTING
« Reply #59 on: October 16, 2022, 03:16:42 PM »
trying to browse :    Off-Topic - Tiny Core Lounge
first showed this structure ( * / ** replaces actual values )

I'm working on the forum/wiki interconnection; expect a couple hiccups here and there.
If you see session data on the screen, it's your own data -- nobody else will see exactly what you do.