by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jul 09 19:41
    sbrl commented #196
  • Jul 09 19:40
    sbrl commented #195
  • Jul 09 17:54
    virtadpt commented #195
  • Jul 09 17:49
    virtadpt commented #196
  • Jul 09 01:07
    sbrl labeled #194
  • Jul 09 01:07
    sbrl labeled #196
  • Jul 09 01:07
    sbrl labeled #196
  • Jul 09 01:06
    sbrl labeled #195
  • Jul 09 01:06
    sbrl labeled #195
  • Jul 08 23:46

    sbrl on master

    Update changelog to reflect v0.… (compare)

  • Jul 08 23:44

    sbrl on master

    docs: tweak making a release no… (compare)

  • Jul 08 23:44

    sbrl on master

    debug: obscure even more secrets (compare)

  • Jul 08 23:37

    sbrl on v0.21.1-hotfix1

    (compare)

  • Jul 08 23:37

    sbrl on v0.21-hotfixes

    debug: obscure even more secrets (compare)

  • Jul 08 23:26

    sbrl on v0.21-hotfixes

    Bump version (compare)

  • Jul 08 23:24

    sbrl on v0.21-hotfixes

    Security: Fix logic in page-deb… debug: hide more secret stuff (compare)

  • Jul 08 23:22

    sbrl on master

    debug: hide more secret stuff (compare)

  • Jul 08 23:16

    sbrl on master

    Security: Fix logic in page-deb… (compare)

  • Jul 08 22:33

    sbrl on master

    build: fix creation of extra da… (compare)

  • Jul 08 20:57

    sbrl on master

    Bugfix: squash `\A` prepending … (compare)

The Doctor
@virtadpt
These things happen.
Starbeamrainbowlabs
@sbrl
ty
Oh yeah, and if you do a custom build of Pepperminty Wiki using the PEPPERMINT_THEME environment variable (PEPPERMINT_THEME=blue ./build.sh build for example), make sure to clear the css setting in peppermint.json and set it to auto. The theme gallery fills this setting with the css of the theme in question.
The Doctor
@virtadpt
I haven't been doing that but I'll make a note of it for future reference. Thank you.
Starbeamrainbowlabs
@sbrl
np
The Doctor
@virtadpt
...
Random thought:
I have an .htaccess file blocking external access to my peppermint.json file. Could that be causing the "I can't save some settings" problem?
Starbeamrainbowlabs
@sbrl
Nope
it writes to disk via PHP directly
so long as PHP has write access to it, it should be ok
I thought I'd implemented a check for that though
The Doctor
@virtadpt
Gave it a try last night, didn't work. Edited peppermint.json by hand, and those settings were put back.
Starbeamrainbowlabs
@sbrl
Ah oops, for the theme you also need to delete the css_theme_autoupdate_url setting
(may as well delete all the csstheme* settings to set them back to the default)
The Doctor
@virtadpt
Baleet.
Starbeamrainbowlabs
@sbrl
?
The Doctor
@virtadpt
Those bits are deleted now.
Starbeamrainbowlabs
@sbrl
Ah, np
Also, I've responded to your issues on the android app. tldr: I need to sit on it for a bit. Simply 'keeping up' with the android ecosystem is taking longer than any development work I do on the app itself, so I want to think about how to proceed. Do I continue with this app? Or do I throw it out and rebuild it using a different framework?
Big questions.
The Doctor
@virtadpt
Big questions indeed. No worries about that.
I've been considering taking the bare HTML5 theme and mocking up a mobile friendly theme, tbh.
Are there any strict requirements for that? Like, "no jQuery?"
(I'm not a web designer at all, if there's stuff I can kitbash together, I totally will.)
Starbeamrainbowlabs
@sbrl

That'd be cool! Yeah, a few guidelines there:

  • Absolutely no jQuery
  • Absolutely minimal additional Javascript if possible (JS is handled completely differently and is theme-independent in Pepprminty Wiki, so JS needs to be in a separate pull request)

I'd love to know how you get on. You're first step would be to create a new subdirectory inside themes, and follow the same basic structure as the other themes (just create theme.css inside the directory, and copy the header from a different theme).

I've tried when developing Pepperminty Wiki itself to use classes everywhere, so it should be fairly easy to hit the elements you want.

You might be interested in the photo theme actually. It's my newest theme and also mobile-friendly too. Eventually I'll be making further changes to the default theme to enable better mobile support, but first I need to move it to CSS grid before I can do that.

I've been trying to work towards user registrations for a while now though, so that's probably going to be next in the most immediate future unless I get distracted by something else :P

The Doctor
@virtadpt
Okay, I'll take a look at it. Thank you.
Also, has anyone reported glitches with search? Unintended case sensitivity?
Or not matching on known page titles?
For example, I have a page "Frequent flyer codes", but "Frequent" and "Frequent flyer" don't match anything.
Starbeamrainbowlabs
@sbrl
np!
Oh, that's odd. I keep tracking down and fixing random issues like that
Try regenerating the search index from the master settings page
If that doesn't fix it, I'd need the text of the page to figure that one out
You can also open invindex.json in SQLiteBrowser or sqlite3 in the terminal to debug it. It's a key-value datastore, so in theory there should be a key for frequent and flyer
It shouldn't be cacse-sensitive, because I transliterate to lowercase ascii before indexing
So case-sensitivity could be a case of accidentally forgetting to transliterate
Starbeamrainbowlabs
@sbrl
I'm also currently on a long-term mission to track down a warning on 1 of my wikis where it tries to open a file called search terms.md that clearly doesn't exist
I don't remember telling it to do that
And I don't understand why it's the only wiki of mine that generates that particular warning
So yeah, there are a few gremlins lurking in the search system
Need help tracking them down (and fixing? PRs are welcome :P)
though I'm sure I'll eventually locate them
The Doctor
@virtadpt
Trying to rebuild search index. Not sure it's actually doing anything.
Starbeamrainbowlabs
@sbrl
oh dear
anything in the server logs?
or the browser console?
The Doctor
@virtadpt
The statusbar finally popped up at 100%.
This is interesting:
image.png
Okay, I'll go poking around in the database after work today.
I'm not a PHP coder, but I'll dink around and see if I can kitbash anything obvious I find.
I've been getting doubles of the last returned search result since the beginning. I thought it was idiosyncratic of all the stuff I had, but now I'm not so sure.