Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

PrivateBin

8 Topics 49 Posts
  • PrivateBin - Package Updates

    Pinned
    20
    0 Votes
    20 Posts
    2k Views
    Package UpdatesP

    [1.9.5]

    Update PrivateBin to 1.7.5 Full Changelog ADDED: Allow non persistent SQL connections, if configured (#​1394) ADDED: Show a button (that redirects to the basepath URL) inside the alert after a paste is deleted CHANGED: Tweaked page footer of the bootstrap5 template (#​1392) CHANGED: Simpler PostgreSQL table lookup query (#​1361) CHANGED: SRI hashes are now configurable, no longer hardcoded in templates (#​1365) CHANGED: Upgrading libraries to: DOMpurify 3.1.7, ip-lib 1.18.1, cloud-storage 1.43.0, aws-sdk-php 3.325.0 FIXED: Numeric array keys being cast to integer causing failures under strict type checking (#​1435)
  • Allow for Alias domains

    Solved
    6
    1 Votes
    6 Posts
    193 Views
    girishG

    I think unless upstream reports support for multiple domains, it's safer not to support it on the packaging side. An app can use many feature like local storage, csp, display in the ui etc which are domain based and won't work with multiple domains. This is the main reason why multiDomain is an opt-in in the manifest and not turned on by default for all apps.

  • Cannot change expiration date

    Solved
    7
    2 Votes
    7 Posts
    459 Views
    luckowL

    yep. fixed.

    image.png

    image.png

  • 2 Votes
    2 Posts
    780 Views
    ericdrgnE

    @LoudLemur If you go to the file manager for you PrivateBin app you can change line 41 to be what you want. https://github.com/PrivateBin/PrivateBin/wiki/Templates (same link the cloudron docs provide) the PrivateBin repo provides examples of templates so you can add those. Below is lines 40 and 41 if you want to use the bootstrap dark template do the same thing.

    ; template to include, default is "bootstrap" (tpl/bootstrap.php) template = "bootstrap-dark"

    The Cloudron docs then go into what you need to do if you want to create your own template to use with PrivateBin. You would create the custom.php template and add it to the file manager in /app/data/custom_template/custom.php and then go back into the conf.php file and change line 41 to be the below.

    template = "custom"
  • what is best if I add new language file ?

    3
    0 Votes
    3 Posts
    442 Views
    girishG

    @freetommy https://github.com/PrivateBin/PrivateBin/wiki/Translation says they use crowdin. So, you can use that interface to help translate.

  • Customizing Look and Feel

    2
    1 Votes
    2 Posts
    415 Views
    T

    @telos-one looks like the PrivateBin wiki has some configuration options that you're able to use, including a title. But on first glance I didn't see a way to switch out the logo. Worth a glance and a potential question on their Github issues.

  • custom theme not working

    6
    0 Votes
    6 Posts
    970 Views
    GrienauerG

    @thetomester13 yes. it is about the privatebin templates, but I think it is also tricky to update these because hash-check-values for js files etc… I tested it and they will now be picked up.

    I checked it now. after a new update, it is already broken. a custom theme should also have the js hash numbers to verify and after an update these (or something else changes and the new template does not work any more. so custom themes are not a good idea in the actual state of the module, how it works now. someone has to dig deeper into it to find maybe a proper solution. for now I would say, it is not a good idea to do so, like nebulon suggested already and I have now the proof for that 😜

  • PrivateBin Bugfix

    Moved
    3
    0 Votes
    3 Posts
    905 Views
    girishG

    @legacy I have pushed an update to privatebin package which picks up the fix