ElkArte Community

General => Site Feedback => Topic started by: Administrator on January 02, 2022, 12:12:34 pm

Title: EARLY Beta version of 2.0
Post by: Administrator on January 02, 2022, 12:12:34 pm
Time for a heads-up that we did an upgrade of the site today!  The last version the site was running on is the recommended production version 1.1.8   but this is our current 2.0 snapshot.  There is no install package for this, its a manual upgrade only and not recommended for real production sites AT ALL.  Franky its probably a bit early for this but we really need to get some testing and feedback going.

Now we're still fixing bugs and issues.  Some real and some just a result of the manual upgrade process.  As always you may need to do a hard refresh to clean out your browser cache as the theme files are completely new.  Once things settle a bit we will update the site to php8 as well.

Please report everything you still find so we can get to doing what we do best, creating more bugs ... The best place to report the issues is on our GitHub issues tracker (https://github.com/elkarte/Elkarte/issues/new/choose)  You can report them here, but that means someone else will have to add it to the tracker, which does not always happen so known bugs are simply overlooked.
Title: Re: EARLY Beta version of 2.0
Post by: Allan on January 02, 2022, 12:35:01 pm
It's great to see Elkarte back up, Is there a list of changes for 2.0?
Title: Re: EARLY Beta version of 2.0
Post by: Zioclive on January 02, 2022, 12:51:03 pm
Great news .
Thanks for the awesome work.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 02, 2022, 03:43:36 pm
Quote from: Allan – It's great to see Elkarte back up, Is there a list of changes for 2.0?
Not really, I can try to come up with something that users may care about.
There was a tremendous amount of restructure to the code, (as we did in 1.0 and somewhat in 1.1) which a typical user would not care about.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 02, 2022, 04:55:40 pm
One new item that folks can test is better emoji support. 

You can add all sorts of them :smile: to your post just by entering a : then the emoji name, like :smile as the simple example. 

There are 100's of available ones, currently the forum as over 1000 available.  They are all SVG icons so they scale up/down nicely and are crisp.  Once you enter the ':' and start to type in some text you will get a selection box of emoji that match .... some examples

:rolling_eyes:  :airplane: :elephant: :abc: :camera:  :cat: You get the idea :wink:
Title: Re: EARLY Beta version of 2.0
Post by: Arantor on January 02, 2022, 05:20:30 pm
:tada:

Was getting a little worried about y'all here.
Title: Re: EARLY Beta version of 2.0
Post by: tino on January 02, 2022, 05:36:11 pm
Thanks for bringing it back, I get a JSON error when liking your post @Spuds and the mention autocomplete doesn’t appear to work.

I’ll log them both on GitHub later
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 02, 2022, 05:54:44 pm
Thanks for the report, and more so logging them :smile: I'm working on a quick (hope) fix PR to address some of these.
Title: Re: EARLY Beta version of 2.0
Post by: Trekkie101 on January 02, 2022, 06:07:28 pm
Honestly - this is the best mobile theme I've ever used on a forum. I love it.
Title: Re: EARLY Beta version of 2.0
Post by: Allan on January 02, 2022, 06:11:07 pm

Quote from: Spuds –
Quote from: Allan – It's great to see Elkarte back up, Is there a list of changes for 2.0?
Not really, I can try to come up with something that users may care about.
There was a tremendous amount of restructure to the code, (as we did in 1.0 and somewhat in 1.1) which a typical user would not care about.
That's fine no need then, sometimes major changes and this is just easier.  :wink:  (smiley worked  with adding : )
Title: Re: EARLY Beta version of 2.0
Post by: forumovod on January 02, 2022, 07:27:00 pm
Thank you for continuing to develop a new version of the engine ElkArte.
Title: Re: EARLY Beta version of 2.0
Post by: Arantor on January 02, 2022, 08:37:23 pm
Tried to like a post...

QuoteAn Error Has Occurred : SyntaxError: JSON.parse: unexpected character at line 2 column 2 of the JSON data

in the popup window, and the following as the POST response:

Code: [Select]
	<div id="fatal_error">
<h2 class="category_header">An Error Has Occurred</h2>
<div class="generic_list_wrapper">
<div class="errorbox" id="2" >Invalid argument supplied for foreach()</div>
</div>
</div>
<div class="centertext">
<a class="linkbutton" href="javascript:window.location.assign(document.referrer);">Back</a>
</div>
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 02, 2022, 09:02:19 pm
I've tracked this one down :smile: 

The cause is do the 2.0 "conversion" and one table column not being updated to the new values.   It should be adding your like, its the member notification of that like that is causing the error.  I'll get this fixed tomorrow, need to test an update query first.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 02, 2022, 09:12:11 pm
Quote from: Trekkie101 – Honestly - this is the best mobile theme I've ever used on a forum. I love it.
Glad its working well!

2.0 did a fair amount of changing the existing CSS to Flex and Grid layouts to the frequently used areas.  That allowed a lot of crud/tricks/float/table/etc removal since (flex./grid) were designed to do what we need.  The goal (at least for me) on the beta was to have things look mostly the same, but with a new temp[ate/css structure behind it.  Its far from a template engine or anything like that, but a refactor of the old layout to current capabilities/standards.
Title: Re: EARLY Beta version of 2.0
Post by: badmonkey on January 02, 2022, 09:58:19 pm
Cool! This will be awesome! Keep up the good work guys!

Another tidbit - this thread has a lot of overflow! The source seems to be the code box.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 02, 2022, 10:06:39 pm
Ah yes, I see the code overflow when I narrow the browser .. solution, don't do that :laughing: 
Title: Re: EARLY Beta version of 2.0
Post by: augras on January 03, 2022, 08:07:52 am
I'm in !
Thank's
Title: Re: EARLY Beta version of 2.0
Post by: badmonkey on January 03, 2022, 09:32:38 am
Quote from: Spuds – Ah yes, I see the code overflow when I narrow the browser .. solution, don't do that :laughing:

Why didn't I think of that? ;D
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 03, 2022, 09:57:05 am
I made a CSS change which should have fixed that grid blowout issue.
Title: Re: EARLY Beta version of 2.0
Post by: Jorin on January 05, 2022, 03:36:47 am
Quote from: Arantor – :tada:

Was getting a little worried about y'all here.

Me too. All of a sudden the site was down.  :o

Glad you are back with good news!  :smiley:
Title: Re: EARLY Beta version of 2.0
Post by: radu81 on January 05, 2022, 11:28:22 am
Glad to see Elkarte online :cool:

--- edit ---
seems that inline attachments are not visible, here an example https://www.elkarte.net/community/index.php?topic=6037.msg42918#msg42918
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 05, 2022, 06:03:50 pm
Quote from: radu81 – Glad to see Elkarte online :cool:

--- edit ---
seems that inline attachments are not visible, here an example https://www.elkarte.net/community/index.php?topic=6037.msg42918#msg42918
Thanks, I'll add that to my list :sweat_smile:
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 08, 2022, 01:28:00 pm
I put in a temporary fix for the attachment not showing and likely a few other issues here and there (same root cause)

The final fix will likely be a bit more involved, assuming I make up my mind what I want to do:confounded:
Title: Re: EARLY Beta version of 2.0
Post by: forumovod on January 12, 2022, 01:48:40 pm
When I click on the "mark all messages as read" button, there is an endless looping.
Shown in the screenshot.
Title: Re: EARLY Beta version of 2.0
Post by: radu81 on January 12, 2022, 03:04:45 pm
I had something similar, I was not able to quote a message, but after cleaning the cache files in my browser the problem was solved.
Title: Re: EARLY Beta version of 2.0
Post by: forumovod on January 13, 2022, 11:15:11 am
Quote from: radu81 – I had something similar, I was not able to quote a message, but after cleaning the cache files in my browser the problem was solved.

after clearing the cache in the browser Chrome, the problem is not solved
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 13, 2022, 12:10:09 pm
I'll log it so it can be looked into
Title: Re: EARLY Beta version of 2.0
Post by: Arantor on January 14, 2022, 06:00:45 am
When you have a multi page topic, reply counting restarts each page, so on page 2 you get no mention of the first post, then it’s reply #1, reply #2 etc. And again on page 3.
Title: Re: EARLY Beta version of 2.0
Post by: radu81 on January 14, 2022, 06:16:45 am
Already reported here https://github.com/elkarte/Elkarte/issues/3553 ;)
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 14, 2022, 06:57:56 pm
And it should be fixed now
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 15, 2022, 03:11:17 pm
I refreshed the stie to the current state of what we have in GitHub.  So some bugs will have been fixed, some "not yet" and likely one or two new ones added.

I have NOT updated the language files.  In 2.0 they have been moved to a more sensible location / structure, but as of  now all I had time to do was the default.
Title: Re: EARLY Beta version of 2.0
Post by: McFly on February 16, 2022, 07:01:49 am
The editing of the signature in the profile area, or the display of the current one, seems to be badly messed up. Also the custom language setting is ... gone?!  :o
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 16, 2022, 09:57:15 am
The language issue is likely since I have not installed the packs yet, hope to get to that in the next day.

Not sure what you are seeing on the profile signature, it looks fine on my system.  1st be sure flush your browser cache as the CSS has changed.   If that fails to fix it, which theme, and browser are you using and could you provide a screen shot as well?
Title: Re: EARLY Beta version of 2.0
Post by: McFly on February 16, 2022, 01:34:37 pm
The signature should be bbcode, right? Not that:
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 16, 2022, 03:48:56 pm
Thanks for the extra details

Yes that should be showing the BBC but its instead showing the rendered html., I'll get that fixed soon.
Title: Re: EARLY Beta version of 2.0
Post by: Adrek on February 16, 2022, 04:33:02 pm
I noticed that Notifications and Messages menu buttons are highlighted (yellow), bot I have no new notifications/messages, and some of PMs have no name in "From" column (on PM main page) but when I go to conversation I see author
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 16, 2022, 05:51:38 pm
Is that on the beSocial theme ?
Title: Re: EARLY Beta version of 2.0
Post by: McFly on February 17, 2022, 04:05:42 am
Fixed! The signature edit box now displays bbcode correctly.   :D
Title: Re: EARLY Beta version of 2.0
Post by: Adrek on February 18, 2022, 12:30:22 pm
yes, Besocial theme
Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on March 19, 2022, 09:01:24 pm
Nice quick reply by the way. The related addon won't be needed once this 2.0 is finalized.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 20, 2022, 09:23:50 pm
Hey its yours :D

I gave you a shout out on github as well.  Thank you for the idea and work on QRR 
Title: Re: EARLY Beta version of 2.0
Post by: McFly on March 21, 2022, 05:36:13 am
For me, the search and the account link disappear from time to time. For example, when I have modified a post. Only after a reload they appear again.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 21, 2022, 04:28:57 pm
I've seen that as well but have not (yet) been able to track it down.
Title: Re: EARLY Beta version of 2.0
Post by: Frenzie on March 22, 2022, 12:43:09 pm
Quote from: ahrasis – Nice quick reply by the way. The related addon won't be needed once this 2.0 is finalized.
Wait, where? I don't see it. >_>
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 22, 2022, 04:02:00 pm
Do you have quick reply enabled in your profile look and layout?
Title: Re: EARLY Beta version of 2.0
Post by: Frenzie on March 22, 2022, 04:06:54 pm
Yes, rather I guess I meant to signal a failure on my part to see any difference with how it's always been since all the way back in SMF?
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 22, 2022, 04:23:07 pm
The old one was a plain textbox (assuming you have full editor off) after the menu, breadcrumbs and posts (Link-9946)
The new one is more in the flow of the posts, appearing as the last post, with your avatar etc but with no text.  (Link-9944)
See its so clean now you did not even notice a difference :smiley:

Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 22, 2022, 05:48:56 pm
Updated the site again with the latest commits from the Github repo. 

This means, some bugs are fixed, some remain, and some new ones were introduced with the brilliant goal of  Fixed > Introduced !

There were fixes pretty much everywhere, and there are still several that I am aware of but the fixes are not yet committed.  There were also some theme fixes to both light and beSocial.

As always report them as ya find them.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 11, 2022, 02:03:47 pm
And another round of update was applied today. 

Once again, more bugs fixed and maybe some introduced!

Be sure to refresh you browser cache (if you wee any problems)
Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on April 14, 2022, 01:12:00 am
Before I forgot, should some one see if this small site icon or favicon things be made easily manageable because most ElkArte sites don't show this properly especially in site's shortcut. Not that it is important but for the sake of completion may be.

(Link-9990)
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 14, 2022, 03:00:33 am
Thanks, I had forgotten about that (it should be back on here).

I think the issue comes from us moving away from the old favicon.ico (some time ago) and instead one needs to have a mobile.png file in sites root.  That should allow the old favicon in the browser tab as well as a proper mobile shortcut icon.  Its called out as
Code: [Select]
<link rel="shortcut icon" sizes="196x196" href="......mobile.png" />
Title: Re: EARLY Beta version of 2.0
Post by: Antechinus on April 16, 2022, 08:48:00 pm
Honestly? I think it's pretty crude at this stage. A lot of the detailing seems to be a backwards step from the original. It works, but it's visually clunky.

However, obviously I can make it look any way I want it to look, if I really want to, so...
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 17, 2022, 09:30:50 am
As always, details and specifics are welcome.
Title: Re: EARLY Beta version of 2.0
Post by: Antechinus on April 17, 2022, 06:21:09 pm
Honestly? Too long a list. The short version is that the overall impression is crude, thrown together, a collection of code with no overriding vision or aesthetic. The board icons are an obvious example.

The finished result does not necessarily have to reflect my current ideas on aesthetics. I'm happy to admit that other guys are capable of making coherent themes, which look great, and which contain things I may not have thought of myself. However, IMO, as things stand, this ain't one of those themes.

And TBH I cannot see the point of cramming the info centre over at the right side of the forum. Yes, it's very simple CSS to change it, so no problem there. Yes, it does fill up a bit of space on wide screens. But it does that by making the whole page look unbalanced, so no aesthetic benefit. It also only applies to the board index, so as soon as you are inside a topic you are back to the same problem of chasing sentences fives miles across your screen. Really a sane max-width on post content is what's needed for easy reading. Basic typography stuffz. Has been known for literally centuries. :)
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 17, 2022, 08:45:54 pm
The board icons are what they have been since 1.1?, so no change has been made there, at least that I recall.  But I know some folks were unhappy with the SVG icons vs PNG ones.

The info center on the right (the 2.0 theme "what do you think about"  is a separate topic) is simply a test to gather feedback.  Obviously its what Xenforo does on their board index and there, as here, it goes back to the to a wide a view on the topic listing and messages.   Just a test to see how many folks would come by to poop on the statue !

I'm not sure how much effort needs to be put into wide viewing vs narrow viewing.  Its hard to get a feel for what the predominant format is now, although I tend to feel its laptop and down (1920 and down, and even so 1280/1024 and down).  One could add sidebars to all of the main areas, but that also gets busy, to much information to take in at one time, too much visual clutter.

Anyway just  putting things out there to gather feedback on what folks expect and how they interact with sites these days, honestly I've not seen anything "new" in forum layout, but that may be an indication that folks don't want to re-learn an interface for each forum they may participate on, they all tend to be familiar so they are easy to navigate.  I'll record your vote as old way better ;) Thanks for the feedback.
Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on April 17, 2022, 09:22:05 pm
Site icon is working now. Great.

I am not about other things in specific so I rather not comment except good work so far. Keep it up.
Title: Re: EARLY Beta version of 2.0
Post by: Antechinus on April 22, 2022, 06:52:15 pm
I suggest running your Darktanion variant through this: https://webaim.org/resources/contrastchecker/

As things stand, it comes nowhere near meeting basic a11y guidelines.
Title: Re: EARLY Beta version of 2.0
Post by: Antechinus on April 22, 2022, 06:54:30 pm
And now the site won't let me change back to the Light variant. I'm stuck on Darktanion. :P

Looks like you have some sort of bug with variant selection.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 23, 2022, 11:28:15 am
QuoteLooks like you have some sort of bug with variant selection.
Seems to work as long as you do not use the "Forum Default" selection area.  But yes that overall area is still not working as it should, something else to look into  :P

QuoteAs things stand, it comes nowhere near meeting basic a11y guidelines.
If I get motivated I'll do that! Overall it was mostly a test (for me) to see if I had broken out enough color vars in the CSS to make at least basic styling "do-able", I doubt it will go anywhere.
Title: Re: EARLY Beta version of 2.0
Post by: Antechinus on April 23, 2022, 06:08:31 pm
Yep, I got myself back to the Light variant somehow. Can't remember exactly how I did it, but basically "ok, try this now and see what happens".

The WebAIM site is a very good resource. I use it a lot. One of the things I have noticed about dark themes is that I find them much easier on the eyes if everything is balanced for contrast ratios. IOW, body text, link text, titles, etc (and taking into account that a larger font-size and/or higher font-weight gives the visual impression of higher contrast for the same colours). If not all backgrounds are the same, I often don't use the same text/link colours on all backgrounds.

I tend to use the contrast checker a lot as a starting point, then tweak things from there to compensate for font-size and font-weight. I don't always go for passing WCAG AAA either. From memory, I think WCAG AA is the usual standard for most countries, and dyslexic users (not an insignificant percentage) find too much contrast makes their dyslexia worse (the text starts crawling around the page for them) so there are arguments for not using too much contrast in a default theme. Black on white, or the inverse, are way too harsh, IMO.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 23, 2022, 09:53:58 pm
I installed the Wave plugin (I think its from WebAIM) for chrome and that seems to do good job at pointing out problem areas w/o having to have a site published, so good for development.  I ran it on light and made a couple of alt text (all those alt="") and link fixes (a few text-less links), colors were fine.  Only checked a few of the main pages.

I'll look to see what it takes to get to AA on the dark theme.  Agree about to much contrast, for me it get harsh and for dark themes I tend to like ones with a touch less contrast, probably why Darktanion ended up where it did.  It was one of those color wheel changes on text/links until, yeah that feels good to my eyes.

Glad you got to reset the theme.  That theme choice area of Profile was redone in 2.0, it used to use the admin controller but now its stands alone in the profile controller, so yeah, a few bugs added.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on May 16, 2022, 03:47:14 pm
So another round of updates were applied today.  Some of these were already "live" but had not been committed to the repo, so what we have now is what is really in the dev branch of the repo.

Some notes:
Title: Re: EARLY Beta version of 2.0
Post by: radu81 on May 17, 2022, 02:52:35 am
Great news, specially for metadata & site schema, IIRC this feature was asked some time ago to be implemented
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on May 17, 2022, 08:47:34 am
Slowly getting all the features in place.   You will notice the schema org data in its fullest form only when viewing the first page of a topic.

If there are other features that have been requested and are not in place, don't hesitate to post a little nudge reminder :smile:
Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on May 17, 2022, 09:12:35 am
I haven't get involved in this for quite some times (may be because I am not sure how) but so far I can only see that the 2.0 development is doing great. Thank you all for keeping it up and moving to the right direction.
Title: Re: EARLY Beta version of 2.0
Post by: Frenzie on May 17, 2022, 03:18:22 pm
Hear, hear!
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on June 04, 2022, 06:53:14 pm
Updated again today .... the changes that I recall in this update are


That is all for now, more goodies to come :smiley:
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on June 19, 2022, 07:05:19 pm
Placed the latest code on the site.

Changes that I recall:

Fixes / Updates

New Stuff
Title: Re: EARLY Beta version of 2.0
Post by: radu81 on June 23, 2022, 10:59:53 am
I'd say that the icode button shouldn't be into the editor, we already have too many buttons. I will open a new topic for this, probably could be a good idea to group some buttons, specially on mobile.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on June 23, 2022, 11:50:14 am
Sounds like a good topic ... most of those toolbar buttons are never used, and now with some markdown available, perhaps even less at least for me
Title: Re: EARLY Beta version of 2.0
Post by: Frenzie on June 25, 2022, 08:57:16 am
Quote from: Spuds – Sounds like a good topic ... most of those toolbar buttons are never used, and now with some markdown available, perhaps even less at least for me
I think that's largely contradictory with the especially on mobile comment. **** isn't that easy to type on mobile, imho. Mobile is perhaps the only place where I use those i/b buttons. (But most of the buttons can probably hide behind a few dots or something, particularly if the user can configure which ones they want to hide behind it.)
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on June 25, 2022, 01:06:30 pm
Fair point, I did munge up a couple of thoughts :monkey_face:

I would think we would keep basic format buttons B, I, U, S, and then maybe some commonly used,, Bullet List, Code, Link ...   Just thinking about the ones that get used, and ones that also render "OK" in wizzy

The Others would, of course,  still be in the Reply/Modify/Preview page aka the full editor.  On QR we could also perhaps add dropdown with the others, or not, or maybe just on mobile.

We can also entertain adding in a @ button since that is also not quick access on mobile (well does depend on the keyboard in use)

Adding in a way to add attachments in QR would be awesome IMO
Title: Re: EARLY Beta version of 2.0
Post by: SHANKS on July 13, 2022, 09:15:22 pm
The program is beautiful and cute.
Can not be relied upon to build a large forum.
For a number of reasons, including:
1- There are no seo features, a description of the site, sections and topics, no sitemas, and no search engine friendly links.
2- The template modification system is very annoying and tiring.
3- The membership system is frankly very bad. And not tidy.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on July 13, 2022, 10:48:08 pm
Quote from: SHANKS – There are no seo features, a description of the site, sections and topics, no sitemas, and no search engine friendly links.
Incorrect, read the thread before you post wrong information.  2.0 contains both OG and SCHEMA meta data
Title: Re: EARLY Beta version of 2.0
Post by: radu81 on July 14, 2022, 08:05:55 am
@SHANKS please stop registering and posting with double accounts, that's not allowed here.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on July 30, 2022, 11:09:08 am
Did another site refresh today.  I'll try to highlight some of the changes


Probably some other things I'm forgetting ... and of course likely introduced a few new bugs.
Title: Re: EARLY Beta version of 2.0
Post by: Frenzie on July 31, 2022, 10:32:54 am
It would be nice if Outlook actually supported anything that advanced. :P
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on July 31, 2022, 10:57:48 am
LOL ... as I read about the HTML "support" in various, still in use, mail clients well :exploding_head:
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on August 26, 2022, 10:06:17 am
And another site refresh last night ... there were a few db changes, so for anyone running a copy see the upgrade script in install.  Added one col to boards, changed session size/type in 3 areas, moved some theme to be site settings.

Title: Re: EARLY Beta version of 2.0
Post by: Trekkie101 on August 30, 2022, 05:55:12 pm
QuoteExecuting: "Dropping the custom search Index..." (5 of 10)
Adding Language edit table...done
Removing old hash custom search index...done
failed

In upgrader.

Edit:

After removing that function, it just fails on the next, followed by the next etc.

I manually added the old_posts thing and the forum works again.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on August 31, 2022, 11:27:43 am
Thanks, I'll take a look and see what I mussed up!  When I did the site upgrade I did it the old manual way :innocent:
Title: Re: EARLY Beta version of 2.0
Post by: Trekkie101 on August 31, 2022, 01:11:12 pm
I’ve found the failure doesn’t seem to be related to the steps, as every step can produce a fail, was a bit bizzare - so I just manually did them.
Title: Re: EARLY Beta version of 2.0
Post by: badmonkey on October 04, 2022, 01:07:19 pm
How "beta" is the dev version at this point? Bugz included being a given, is it tolerable for mid -size site testing? Organic users are a great testing ground. Does the upgrader work from 1.8?
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on October 05, 2022, 10:41:38 am
I would certainly appreciate more real testing  :smiley: its needed to shake out the bugs.  I'm sure there is still a fair amount of error log spam as well, every so often I go through the logs and fix some of what I find.  The real start of Beta is when (at least to me) new features are no longer being added, so feature freeze and you just concern yourself with fixes (of course some things may still get added, but if your not carful you just end up in a loop of despair)

There are also addon considerations, which ones are you running just so I can make sure to give them a test.  I'm pretty sure there will be a few breaking issues.

The update script is there but I have not done the needed testing.   That script is really concerned with db updates, so I need to do a fresh 118 -> update to 20 and then do some comparisons.  The other update issue/question/decision is that the file structure really changed under 2.0, its now follows PSR guidelines, so I need to make sure the upgrader cleans up after itself.

I pushed a couple of large updates to the repo but they are not live here just yet.  I also have a couple of smaller features I was thinking of adding and a few areas to simplify.  I also want to pack up 1.1.9 so were are better prepared for 8.1   

So maybe wait several more weeks so we can get a few more things done  :grin:
Title: Re: EARLY Beta version of 2.0
Post by: badmonkey on October 05, 2022, 05:21:08 pm
Word. Thanks for the advisement @Spuds

It's no rush nor critique, to be clear. One site has a crew offering unique if not creative ways to break things. They also provide constructive feedback when they do. Thus it's a reasonable testing grounds.

Anywho, we'll patiently await further updates!

Oh, one other question. Will custom css be reasonably close in 2.0, or will a 1.8 custom css require substantial overhaul?
Title: Re: EARLY Beta version of 2.0
Post by: badmonkey on October 17, 2022, 08:54:22 am
Perhaps it's also pertinent to expand the question. Will there be substantial theming changes in 2.0, or can 1.9ish themes be ported with reasonable ease?
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on October 17, 2022, 11:01:55 am
I think what I need to do is take one of my 1.1 themes and see what is required in order to make a fully useful response.  Its going to be very theme dependent with respect to what was changed/adjusted.

A custom.css only theme should mostly just work.  I don't recall any major CSS selector changes, so whatever was being targeted by the custom CSS should still be available.  That said, structurally many things were moved to grid and flexbox, as such how you adjust items may not be the same.  For example the old board index was div/span/float/margin in structure and now its grid-template-columns: [bicon] 75px [info] auto [avatar] 60px [latest] 32% [stats] minmax(80px, 120px) [end];  Which may look complicated but its really not, and you can rearrange and delete the items with ease.

Themes with custom templates will need some effort, mostly if you want to take advantage of the new features, such as the improved metadata (note I did add that in 1.1.9, but to use it with a custom theme, its index.template would need to be updated to output the data, the updater should offer this but ...) Custom themes likely have their own board/message/display templates with their own css, which again should "work"   But things such as who liked a post, that was hidden until you did a button hover (poor accessibility) is now shown by default.

Font awesome support was removed in 2.0, but could easily be added back with a custom theme.  It was depreciated in 1.1 and not used by the core theme.

The top menu is now pure CSS, removing hoverintent/superfish js from use.  So themes that did very custom menus, or used those JS functions to adjust fade in/out would need some changes.  Part two of that change is when you use click menus, such as mobile/touch devices, that is still JS (new code) enabled, so you would want to test changes both ways.

Font size changed slightly, but most importantly the way its done now stops a lot of the compounding effect that we had, so a custom theme may find some of their font sizes will need to be adjusted.

Other menus were also changed/simplified made consistent, so again depending on what you did ....

I could go on, but I feel most adjustments should be straight forward as the overall look did not really change, but many of the old ways of doing it were changed.   I know that is not much help  :sad:
Title: Re: EARLY Beta version of 2.0
Post by: NetFlag on October 17, 2022, 12:15:36 pm
Don't worry! The most important thing is that an update to 2.0 goes through without problems. The theme with its variants in dev 2.0 is top-notch!  :thumbsup:
Title: Re: EARLY Beta version of 2.0
Post by: tino on December 28, 2022, 01:17:30 pm
What are the plans for Elkarte 2.0.0.

I can see there are 169 open issues against it, however looking at them from an outsiders point of view. I think many can be closed down as not required now or supeceeded. I'm more asking from an addon development point of view as I have just updated TinyPortal again to work with 2.0.0 and was going to work my way through the other addon's I have, but if there are going to be drastic changes (like the changes to how language txt files are loaded as that broke my logic and I had to implement my own loader) it makes sense to hold fire.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on December 28, 2022, 07:17:06 pm
There should not be any more core changes like what we did with the language files, at least I am not planning on any at this point.

Agree many of those issues can simply be closed.  I started to go through them a few months ago and did the work of fixing/adding or closing them.  There are a lot that simply kept being pushed to the next release, some are valid improvements and could be moved to projects, should someone want to take them on, but the majority are old crust.

On the language issue you faced, if there is a helper function or logic change that could be added to the core, let us know!

I've been stuck on 1.1.9 (I keep saying its close and then, another little issue shows up), so have not been able to work on 2.0 in a couple of months.  Should be able to get back to it soon :pray:
Title: Re: EARLY Beta version of 2.0
Post by: M-D-Luffay on February 14, 2023, 03:28:15 pm
Welcome
Is this version available now?
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 14, 2023, 06:43:25 pm
Not really.  All of the code is available in the Github repo, but I don't think the install is working. 

I have fixed several issues, including install problems, but have not pushed the updates to the repo (yet).  Unfortunately 1.1.9 has been sucking the life out of me.
Title: Re: EARLY Beta version of 2.0
Post by: NetFlag on February 16, 2023, 08:52:24 am
Quote from: Spuds – Unfortunately 1.1.9 has been sucking the life out of me
I can tell you that the latest released patch runs fine. Even with php 8.2.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 16, 2023, 12:09:16 pm
Awesome to hear ... Honestly every time I think 1.1.9 is done and I package it up, do some patch/install tests/etc, another little issue shows up  :zany_face:
Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on February 16, 2023, 09:01:13 pm
Just packed it up already and leave the fixes via forum post which will be compiled later in 1.1.10, if any. For now, focus on 2.0 is better.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 27, 2023, 11:18:05 am
Just did a site update to the latest 2.0 code.

Honestly don't remember exactly everything that changed as these were updates and fixes that were in flight as I was trying to get 1.1.9 out the door.  In any case there were a bunch of bug fixes that I did over the last few months as well as 1.1.9 fixes that were also needed in 2.0.

As always clear that cache.  Next update I'll try to remember to add the cache stale string so everyone does not have to manually flush the cache.

So lets see what we broke this time  :tongue:
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 02, 2023, 09:40:17 pm
Did another small bump of the site files ....

Fix for likes not working on button click
Fix for Quote on collapsed QR not working
PM from was missing when in conversation view
Various theme tweaks
Unapproved attachments fixes
Edit all option in board profiles was broken
Lot of formatting / psr / cleanup / docblock  stuff
Replace jSqueeze with JavaScriptMinifier for better support and speed
Add fast CSS compression with a whitespace/comment stripper
Update chart.js to latest, fix stats layout, fix stats errors for removed members
Many other minor fixes
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 27, 2024, 05:42:28 pm
Well its been some time since I did a site refresh, but its now done.   This is the latest 2.0 code.

Behind the scenes alot has changed in the code, so you may not see as many new shiny features, but there are a few. Obviously all of the standard things of bug fixes, moving to much more recent PHP version requirements (meaning the current code will not run well on 7.4), many theme tweaks, etc


Well report what is not working now, is still not working now, or is newly not working now :tongue:
Title: Re: EARLY Beta version of 2.0
Post by: Zioclive on February 29, 2024, 03:27:10 pm
 Already switched to php 8.1  :smiley:  :thumbsup:
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 29, 2024, 06:28:34 pm
Good move .... I've been very happy with the 8.x line  :grin:
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 03, 2024, 01:00:57 pm
Did another refresh today .....

Standard set of bug fixes, and a lot of file rearrangement (continued WIP) so things are better grouped and namespaced. 

Also added a Giphy feature to the post editor, so go enjoy that :D
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 16, 2024, 08:42:32 pm
Another update.  This one has a rather major change to the sites JS as I moved a lot of JQuery back to Vanilla JS.  There is still some specific JQ functions, but a lot of "random" JQ was removed and several JQ functions were converted.  Lots of other JS updates as noted below.

Next was the adding of Chunked Attachment Uploads  :partying_face: Now uploaded attachments are cut into chunks, sent, re-combined on the server, and then processed as if it was sent as one large file.  This also has retries on the chunks should a network glitch occur and allows multiple sends to be occurring which could improve speed.

Features Add/Improved



Things Removed



General Fixes and Improvements

Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on March 19, 2024, 11:04:52 pm
Can we have multicolor option in 2.0? Or had I asked this before. Prefer not to install other theme, just default with this option. :cheesy:
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 20, 2024, 08:47:45 am
Do you mean a dark mode toggle or some additional color variants of this theme?
Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on March 20, 2024, 09:50:57 pm
Quote from: Spuds – some additional color variants of this theme
I mean this. Default is only green so far. So red, blue, gold, cyan etc would be nice...
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 21, 2024, 08:55:36 pm
Should be easy enough to do :D

The slightly more difficult one was the dark variant (that is already available) but that was because of all the changes to shadows and text colors.
Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on March 24, 2024, 10:25:13 pm
I understand the darkness only when it surrounds me... Scary...  :sweat:
Title: Re: EARLY Beta version of 2.0
Post by: Burke Knight on March 25, 2024, 06:14:58 am
Quote from: Spuds – The slightly more difficult one was the dark variant (that is already available) but that was because of all the changes to shadows and text colors.

That was always an issue for me, when theme editing for my sites.
Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on March 26, 2024, 03:05:36 am
Spuds, I think darkness is causing bugs to EA 2.0 notification system.

Really I only get one notification at a time for my above post though they should be there like when you and BK like them. Means just now, after I see notification that you liked my post, but not BK, and click on it which goes to my post, but when I click back to notification, there notification that BK liked my post appear. I believe they should be all in notification page when I opened it at the first instance but they were not.

Did I wrote the above sentence clearly and made any sense?  :undecided:
Title: Re: EARLY Beta version of 2.0
Post by: Burke Knight on March 26, 2024, 05:20:00 am
Quote from: ahrasis – I believe they should be all in notification page when I opened it at the first instance but they were not.

They were for me. I'm using the dark and I get multiple notifications.

Besides, I don't think that'd be a color variant issue, if it's on the notification page.
Sounds more like a hiccup on the notifications system.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 26, 2024, 07:31:35 am
Quote from: ahrasis – Did I wrote the above sentence clearly and made any sense?
I do understand what you are saying :D

I have not seen that behavior but I'll do some testing/checking.  Like @Burke Knight said, probably not a theme issue, but I'll be switching to that variant to test since that is a difference setup for me.

Thanks for the report!
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 26, 2024, 08:34:50 pm
Added manifest creation so a webmanifest "file" is generated for the site
Added PWA / Progressive Web App see https://www.elkarte.net/community/index.php?topic=6318 for details

Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on March 27, 2024, 11:27:39 am
Afterthought. Is it possible to have content and edit history of a post logged, even if it is deleted at the end?