Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Ondrej Brinkel
    @der-On
    Hello Gani
    Thanks for the chat.
    Ondrej Brinkel
    @der-On

    I've now started to hack on your presentator trying to get overlay screens to work.
    Regarding the frontend code I see that it could hugely benefit from React/Vue.js + Redux/RxJs

    I think one could start to prototype a new screens-view and screens-preview using these technologies with the existing ajax-routes the current jQuery implementation uses.

    The only difference would be the initial rendering of the hotspots. It should be rendered as json within a script tag so react /vue.js can actually read it and generate the hotspots from that data.
    Gani Georgiev
    @ganigeorgiev

    @der-On Thanks for starting to work on the feature. I'll try to check it these days.

    As for the frontend part - I understand that the current behavior is not very suitable to be handled with jQuery, but at the same time I think that mixing React/Vue with jQuery events will create more problems than it solves.

    I'm planning of completely rewriting the codebase (and eventually redesign the platform), but unfortunately, based on my current schedule, I could start working on that at the earliest at the end of the year.

    Ondrej Brinkel
    @der-On
    I see. Then the best would be to draft out the new code and ui design in public?
    Gani Georgiev
    @ganigeorgiev
    When I start working on the task I'll create a v2 branch. With v1.11 release I'm going to add a detailed planning/roadmap info.
    xaver
    @__xaver_twitter
    hi
    @ganigeorgiev i want to try the tool on my server. Can i use v2 develop branch already (i know it is not finished). I prefer to start with next version and not the soon deprecated
    @ganigeorgiev @der-On sry for highlighting you, but the last message is 9 months ago.
    Gani Georgiev
    @ganigeorgiev
    @__xaver_twitter Sorry, I still haven't decide how the v2 repo will be managed - aka. whether each component (frontend, api, js-client) will have a separate repo or all repos will be managed by a monorepo.
    The API is almost complete (just unit/functional testing remains), and I'm currently working on the integration with the frontend. If you can't wait another 1-2 months, I suggest you to use the current stable version.
    v2 will come with upgrade instructions (and db/files migration script) so it shouldn't be very difficult to migrate later.
    Gani Georgiev
    @ganigeorgiev
    If anyone is following here, v2 is released and merged in master. All Presentator repositories are moved to https://github.com/presentator.
    xaver
    @__xaver_twitter
    @ganigeorgiev thx :)
    Ondrej Brinkel
    @der-On
    @ganigeorgiev A very big thank you for v2. Just took a short look at it on presentator.io and it looks super awesome is super smooth and fast! I will update my instance of it on my server asap. Great work!
    Ondrej Brinkel
    @der-On
    @ganigeorgiev Hi. I've just installed v2 using docker and imported my v1 data as described here: https://github.com/presentator/presentator/blob/master/UPGRADE.md
    However the SPA now always get a 500 Server Error whenever trying to get the projects
    Is there any LOG I can look into?
    Found the log file and the reason: Allowed memory size of 134217728 bytes exhausted
    Ondrej Brinkel
    @der-On
    Increasing the limit in php.ini does not seem to help, also phpinfo is reporting that my memory limit is higher now.
    Ondrej Brinkel
    @der-On
    @ganigeorgiev yii\base\ErrorException: Allowed memory size of 134217728 bytes exhausted (tried to allocate 12288 bytes) in /var/www/html/vendor/intervention/image/src/Intervention/Image/Gd/Decoder.php:112
    Gani Georgiev
    @ganigeorgiev
    @der-On It fails because it is trying to create the imported v1 project thumbs. Probably it wasn't a good idea from my end to add the inline ini_set call here https://github.com/presentator/presentator/blob/master/packages/api/behaviors/FileStorageBehavior.php#L320 (in your project it should be located in /var/www/html/vendor/presentator/api/behaviors/FileStorageBehavior.php). Try temporary to comment it (I'll consider removing it in future releases).
    Ondrej Brinkel
    @der-On
    @ganigeorgiev yes please remove that line. 128MB is far to less for long retina screens.
    Gani Georgiev
    @ganigeorgiev
    @der-On The ini_set call was removed in v2.0.6 release (Docker Hub may need some time to generate the builds for the related tags).
    Leonardo
    @gomezgleonardob
    Hello, I use Presentator self-hosted
    When i register a user i don't get the activation email
    Gani Georgiev
    @ganigeorgiev
    @gomezgleonardob Hi, make sure to enable actual mail sending in your base-local.php:
    'components' => [
        'mailer' => [
            'class'            => 'yii\swiftmailer\Mailer',
            'useFileTransport' => false,
            'transport' => [
                'class'      => 'Swift_SmtpTransport',
                'host'       => 'YOUR_HOST',
                'username'   => 'YOUR_USERNAME',
                'password'   => 'YOUR_PASSWORD',
                'port'       => '465',
                'encryption' => 'tls',
            ],
        ],
        ...
    ]
    Paresh Solanki
    @PareshSolankiMI_gitlab

    Hello, I use Presentator self-hosted

    And when I create auth app in gitlab then I got below error.

    The form contains the following error:

    • Redirect URI cannot contain a fragment.
    Gani Georgiev
    @ganigeorgiev
    @PareshSolankiMI_gitlab It seems that gitlab doesn't allow "hashbang" urls. You could try specify your callback url without the /#/ part (eg. https://app.presentator.io/auth-callback) and add a rewrite rule in nginx/apache. Nginx example:
        location ~ ^/(?!(index\.html|#|api|storage|spa-resources|assets)).+ {
            rewrite ^\/(.*)$ /#/$1 redirect;
        }
    Paresh Solanki
    @PareshSolankiMI_gitlab
    Okay got it. Thank you :)
    Paresh Solanki
    @PareshSolankiMI_gitlab
    If i want to disable normal signup/login then is there any option for that?
    Gani Georgiev
    @ganigeorgiev
    @PareshSolankiMI_gitlab No, the login form can't be disabled, nor hidden. There is a "hacky" way to disable regular registration by setting onlyDomainsRegisterFilter (for oauth users the filter is not applied) to some random domain name in your params-local.php (see https://github.com/presentator/presentator/blob/master/packages/api/config/params.php#L42-L50).
    Paresh Solanki
    @PareshSolankiMI_gitlab
    Okay Thank you :)
    Laul0
    @Laul0
    Hi @ganigeorgiev , do you think it is possible to support the GIMP format (.xcf)?
    Gani Georgiev
    @ganigeorgiev

    @Laul0 I think there are couple of options:

    With a plugin/script probably will be easier and more functional but at least for the near future I don't think I will be able to find time to work on it (I'm currently more concentrated on improving the comments/notifications flow).

    Laul0
    @Laul0
    Thank you for your answer :)
    Great to know.
    Your work is really appreciate 👍🏻