Re: future of OM frontend

2021-10-15 Thread Maxim Solodovnik
On Wed, 13 Oct 2021 at 04:49, seba.wag...@gmail.com 
wrote:

> OFFTOPIC: I don't really like webpack-and-friends, it's output is often
> unpredictable and hard to debug.
> Additionally I have difficulties to set it up to do what I need
> This is why I'm trying to find something that "just works" and produces no
> damage :)
>
> Your offtopic sounds more like a rant :)
>

I would say "grumbling"  :))


> webpack-and-friends, it's output is often unpredictable and hard to debug.
> >
> Additionally I have difficulties to set it up to do what I need
>
> => Actually I mostly used webpack just during development. Not when
> productionising. During development you can use webpack to start a task
> which enables you to reload the JS+HTML while in a page. E.g. in
> OpenMeetings changing the HTML takes around 3minutes, cause you need to
> restart the entire server + navigate back to where you were in a browser.
> See: https://webpack.js.org/configuration/dev-server/
>
> This greatly improves the development cycle, it cuts it down to seconds
> what previously took minutes.
>

At my 5-7 years old laptop
"unpacked" build tooks 7-9 minutes
"quick" build tooks 01:01 minute

not too much :)))
the number can be lower, for whatever reason site is generated even if `
maven.site.skip` is passed :(


> => Unfortunately it won't be possible to integrate this into OpenMeetings
> for now. Because it won't work with Apache Wicket.
>
> It seems like you are putting all of those different tools and technologies
> into 1 umbrella/basket. While it's more like each of those has Pro and
> Cons. Some might be good for OpenMeetings, others maybe not.
>

Well, I always thought it is impossible to create a PWA out of a server
side based web application
Can you share PoC?


> It has nothing to do with breaking things. None of those things should
> break the application. Neither frontend nor backend technologies should
> break the application or make it unstable. It has nothing to do with that.
>
> Thanks
> Sebastian
>
> Sebastian Wagner
> Director Arrakeen Solutions, OM-Hosting.com
> http://arrakeen-solutions.co.nz/
> https://om-hosting.com - Cloud & Server Hosting for HTML5
> Video-Conferencing OpenMeetings
> <
> https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url
> >
> <
> https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url
> >
>
>
> On Wed, 13 Oct 2021 at 03:41, Maxim Solodovnik 
> wrote:
>
> > On Tue, 12 Oct 2021 at 03:41, seba.wag...@gmail.com <
> seba.wag...@gmail.com
> > >
> > wrote:
> >
> > > >
> > > > The project is responsible for the 3rd party components/libraries it
> > uses
> > > > I try to check the license of JS components (but not their trees)
> > >
> > > Re license checking, we could explore using:
> > > https://www.npmjs.com/package/license-checker
> > > => to automate license checks. That might be quite useful, especially
> > once
> > > more dependencies are added.
> > >
> >
> > +1 to add license check
> > This can be separate maven profile (maybe event separate Jenkins job to
> > save developer's time)
> >
> >
> > >
> > > Also other build/checks improvements:
> > > Linting JS code - Also what would be good would be to add a linter:
> > > https://www.npmjs.com/package/lint
> > > => To automate checks for JS formatting. E.g. forgetting to replace
> > > whitespaces with tabs :) A linter can help a lot. And it is very easy
> to
> > > set up.
> > >
> >
> > I've set up my IDE (and using "show whitespaces" mode)
> > but let's use "the robot" :)  (I, personally, don't really like all those
> > checkstyles, they do the job but not flexible enough :( )
> >
> >
> > > Bundling/minify CSS and add linter using NPM: various NPM plugins
> > available
> > > to do it, eg https://www.npmjs.com/package/css-loader
> > > => NPM can also be used to bundle the CSS files
> > >
> >
> > we had an option to minify CSS files
> > But to be fair it is very much useless
> > And the one we were using also did break CSS units
> >
> >
> > > => This has also the advantage that you can use the linter to make sure
> > CSS
> > > formatting is good
> > > => This also has the advantage that you can use further clever ways to
> > > optimise the CSS (https://sass-lang.com/)
> > >
> >
> > OFFTOPIC: I don't really like webpack-and-friends, it's output is often
> > unpredictable and hard to debug.
> > Additionally I have difficulties to set it up to do what I need
> > This is why I'm trying to find something that "just works" and produces
> no
> > damage :)
> >
> >
> > > this might be dangerous since we have no frontend tests :(
> > >
> > > => We should be able to add JavaScript unit tests using Jest:
> > > https://jestjs.io/
> > > => And integrate + automate it into our NPM build process
> > > https://www.npmjs.com/package/jest
> > >
> > >
> > I saw some tests in other projects, but have no experience in the topic
> :(
> >
> >
> > > If I'm not mistaken there was discussion
> > > > Will try to search archiv

Re: Updated mobile viewports to make icons and buttons clickable on mobile device in portrait mode

2021-10-15 Thread Maxim Solodovnik
On Wed, 13 Oct 2021 at 04:22, seba.wag...@gmail.com 
wrote:

> >
> > Also I don't really like all these JS frameworks
> > I believe the content should be controlled on server
>
> => There is no framework change, your understanding of PWA and saving to
> home screen I think is based on a misunderstanding. Or you mixing it with
> other topics around the other email thread on "Future of front end". It has
> nothing to do with what framework you use. PWA does not mean the
> application is more or less executed on the client or server side. It's
> just a different way of starting a web-browser. That is all.
>

I wrote PWA for one client
It was serverless app
and as PWA it was working in offline mode
AFAIK you need some cache and background worker

If you feel it is easy and useful: I would say let's try :)


>
> Thanks
> Seb
>
> Sebastian Wagner
> Director Arrakeen Solutions, OM-Hosting.com
> http://arrakeen-solutions.co.nz/
> https://om-hosting.com - Cloud & Server Hosting for HTML5
> Video-Conferencing OpenMeetings
> <
> https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url
> >
> <
> https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url
> >
>
>
> On Wed, 13 Oct 2021 at 10:15, seba.wag...@gmail.com  >
> wrote:
>
> > Let me try out to see how many changes are required. And then we can see.
> > I think your understanding of PWA is a misunderstanding. It's nothing
> else
> > than an alternative way of a browser. So you can control a few more
> aspects
> > more explicitly.
> >
> > It is not rewriting the JS or HTML files. Or changing the frameworks.
> It's
> > still just a browser. It just opens up a few APIs that you don't have
> when
> > using a normal browser.
> >
> > Thanks
> > Seb
> >
> > Sebastian Wagner
> > Director Arrakeen Solutions, OM-Hosting.com
> > http://arrakeen-solutions.co.nz/
> > https://om-hosting.com - Cloud & Server Hosting for HTML5
> > Video-Conferencing OpenMeetings
> >
> > <
> https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url
> >
> > <
> https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url
> >
> >
> >
> > On Wed, 13 Oct 2021 at 07:37, seba.wag...@gmail.com <
> seba.wag...@gmail.com>
> > wrote:
> >
> >> Why is it a rewrite?
> >>
> >> All you do is add a manifest file. In order to make saving to the Home
> >> Screen easier.
> >>
> >> What other change do you expect?
> >>
> >> Thx
> >> Sebastian
> >>
> >> On Wed, 13 Oct 2021 at 4:32 AM, Ali Alhaidary <
> >> ali.alhaid...@the5stars.org> wrote:
> >>
> >>> I second @Max
> >>>
> >>> Ali
> >>>
> >>> On 10/12/21 5:30 PM, Maxim Solodovnik wrote:
> >>> > Hello Seb,
> >>> >
> >>> > I'm not happy with converting to PWA
> >>> > This will mean to convert OM to JS+REST i.e. rewrite it completely
> one
> >>> more
> >>> > time
> >>> > I doubt I can do another rewrite
> >>> > Also I don't really like all these JS frameworks
> >>> > I believe the content should be controlled on server
> >>> >
> >>> > But this is an open source project :)
> >>> >
> >>> >
> >>> > On Tue, 12 Oct 2021 at 10:07, seba.wag...@gmail.com <
> >>> seba.wag...@gmail.com>
> >>> > wrote:
> >>> >
> >>> >> It is also possible to directly open the PWA instead of a new
> Browser
> >>> >> window for when opening OpenMeetings via an invitation link. So that
> >>> it
> >>> >> opens the PWA directly. You can simply add a special URL parameter:
> >>> >> https://web.dev/pwa-url-handler/
> >>> >>
> >>> >> So for invitation links we could potentially simply include the
> >>> additional
> >>> >> URL parameter for all links, if the PWA is installed it will open it
> >>> with
> >>> >> this link. Otherwise open in a new browser window. Should have no
> >>> negative
> >>> >> impact.
> >>> >>
> >>> >> In order to support versioning (or different installations of
> >>> OpenMeetings)
> >>> >> - in case a user has installed multiple OpenMeetings installations
> on
> >>> the
> >>> >> same mobile device  - we can include the name in the PWA name, so
> >>> that it
> >>> >> does separate those versions. This may not be even a problem, but it
> >>> might
> >>> >> be very handy for developers so you have multiple different icons on
> >>> your
> >>> >> home screen. Or in case we use the more advanced features of a PWA
> >>> (e.g.
> >>> >> local storage).
> >>> >>
> >>> >> Thanks
> >>> >> Seb
> >>> >>
> >>> >> Sebastian Wagner
> >>> >> Director Arrakeen Solutions, OM-Hosting.com
> >>> >> http://arrakeen-solutions.co.nz/
> >>> >> https://om-hosting.com - Cloud & Server Hosting for HTML5
> >>> >> Video-Conferencing OpenMeetings
> >>> >> <
> >>> >>
> >>>
> https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url
> >>> >> <
> >>> >>
> >>>
> https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url
> >>> >>
> >>> >> On Tue, 12 Oct 2021 at 09:20, seba.wag...@gmail.com <
> >>> seba.wag...@gmail.com
> >>> >> wrote:
> >>> >>
> >>> >>> Are we happy to proceed

Re: [VOTE] Apache OpenMeetings 6.2.0 based on Release Candidate 2

2021-10-15 Thread Maxim Solodovnik
@Seba, is it time for RC3 ? :)))

On Mon, 4 Oct 2021 at 16:53, Maxim Solodovnik  wrote:

> Thanks Alvaro :)
>
> from mobile (sorry for typos ;)
>
>
> On Mon, Oct 4, 2021, 14:01 Alvaro  wrote:
>
>> ...Health for Siberian angels...
>>
>>
>> Alvaro
>>
>> --
>>
>>
>>
>> On Mon, 4 Oct 2021 07:47:00 +0200
>> Alvaro  wrote:
>>
>> > Good morning,
>> >
>> > Thanks Maxim, Sebastian. Then could you please
>> > tell me when the definitive release 6.2.0 will
>> > be ready?
>> > I need to know it to build the live iso with the
>> > right file release.
>> >
>> > Thanks again.
>> >
>> > Alvaro
>> >
>> >
>> > 
>> >
>> > On Mon, 4 Oct 2021 15:42:06 +1300
>> > "seba.wag...@gmail.com"  wrote:
>> >
>> > > >
>> > > > My daughter was sick, now she is much better :)
>> > >
>> > > Hope things get better quickly!
>> > >
>> > > The fix is as easy
>> > >
>> > > ok thx let me try that and spin up another demo server with the fix
>> to test
>> > > on an iOS device
>> > >
>> > > Thanks
>> > > Seb
>> > >
>> > > Sebastian Wagner
>> > > Director Arrakeen Solutions, OM-Hosting.com
>> > > http://arrakeen-solutions.co.nz/
>> > > https://om-hosting.com - Cloud & Server Hosting for HTML5
>> > > Video-Conferencing OpenMeetings
>> > > <
>> https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url
>> >
>> > > <
>> https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url
>> >
>> > >
>> > >
>> > > On Mon, 4 Oct 2021 at 15:39, Maxim Solodovnik 
>> wrote:
>> > >
>> > > > from mobile (sorry for typos ;)
>> > > >
>> > > >
>> > > > On Mon, Oct 4, 2021, 09:34 seba.wag...@gmail.com <
>> seba.wag...@gmail.com>
>> > > > wrote:
>> > > >
>> > > > > >
>> > > > > > I'll try to help if will get out from hospital this week
>> > > > >
>> > > > > => You should rather rest up! But if you could help review PRs
>> once I
>> > > > have
>> > > > > some proposed fix. Or specific ideas I should look at.
>> > > > >
>> > > >
>> > > > I'm in the hospital ad baby sitter :)
>> > > > My daughter was sick, now she is much better :)
>> > > >
>> > > > The fix is as easy as
>> > > > ```
>> > > > if (!Notification || typeof(Notification.granted) !== 'string') {
>> > > > return;
>> > > > }
>> > > > ```
>> > > >
>> > > > :)
>> > > >
>> > > >
>> > > > > Thanks
>> > > > > Seb
>> > > > >
>> > > > > Sebastian Wagner
>> > > > > Director Arrakeen Solutions, OM-Hosting.com
>> > > > > http://arrakeen-solutions.co.nz/
>> > > > > https://om-hosting.com - Cloud & Server Hosting for HTML5
>> > > > > Video-Conferencing OpenMeetings
>> > > > > <
>> > > > >
>> > > >
>> https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url
>> > > > > >
>> > > > > <
>> > > > >
>> > > >
>> https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url
>> > > > > >
>> > > > >
>> > > > >
>> > > > > On Mon, 4 Oct 2021 at 15:32, Maxim Solodovnik <
>> solomax...@gmail.com>
>> > > > > wrote:
>> > > > >
>> > > > > > I'll try to help if will get out from hospital this week
>> > > > > >
>> > > > > > from mobile (sorry for typos ;)
>> > > > > >
>> > > > > >
>> > > > > > On Mon, Oct 4, 2021, 09:30 seba.wag...@gmail.com <
>> > > > seba.wag...@gmail.com>
>> > > > > > wrote:
>> > > > > >
>> > > > > > > Okay let's delay for one week then.
>> > > > > > >
>> > > > > > > Any other objections/opinions from other people ?
>> > > > > > >
>> > > > > > > Otherwise I leave this VOTE open for another 24h to see if
>> there are
>> > > > > any
>> > > > > > > other responses. Or assume - if no further responses - people
>> are
>> > > > happy
>> > > > > > to
>> > > > > > > delay by another week or so.
>> > > > > > >
>> > > > > > > Thanks
>> > > > > > > Seb
>> > > > > > >
>> > > > > > > Sebastian Wagner
>> > > > > > > Director Arrakeen Solutions, OM-Hosting.com
>> > > > > > > http://arrakeen-solutions.co.nz/
>> > > > > > > https://om-hosting.com - Cloud & Server Hosting for HTML5
>> > > > > > > Video-Conferencing OpenMeetings
>> > > > > > > <
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url
>> > > > > > > >
>> > > > > > > <
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url
>> > > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > > On Mon, 4 Oct 2021 at 15:28, Maxim Solodovnik <
>> solomax...@gmail.com>
>> > > > > > > wrote:
>> > > > > > >
>> > > > > > > > Well,
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > from mobile (sorry for typos ;)
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > On Mon, Oct 4, 2021, 09:20 seba.wag...@gmail.com <
>> > > > > > seba.wag...@gmail.com>
>> > > > > > > > wrote:
>> > > > > > > >
>> > > > > > > > > Yeah so delay a few months or not?
>> > > > > > > > >
>> > > > > > > >
>> > > > > > > > I would wait for one more week
>> > > > > > > > We can do another release in 1-2 months
>> > > > > > > >
>> > > > > > > >
>> > > > > > > >