Not logged in. · Lost password · Register
Page:  1  2  3 ... 9  10  11  next 

All posts by MartinR (155)

topic: Get a list of pages by size?  in the forum: General Help and Support Features and Functionality
Avatar
MartinR #1
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
Doing it in the GUI would require a plugin of some sort.  If you can put up with the command line changing
sort -nr
to
sort -n
will give you the smallest files.
topic: Largest Dokuwikis (Some fun stats)  in the forum: General Help and Support General Stuff
Avatar
MartinR #2
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 67307
Of course this only lists those DWs that actually report data.  Some of the bigger DWs may be behind firewalls or air gaps.
topic: How to run Dokuwiki on a Shared Network Drive  in the forum: General Help and Support Server Setup
Avatar
MartinR #3
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 67270
First off, I'm assuming that the drive is served to other machines by NFS or CIFS (aka Windows shares) and is not directly accessible to multiple machines.

Consider how you interact with DW.  You run up a browser which contacts the web server which runs the DW code and that accesses the disk.  If there are multiple users, then each user runs up a browser on his own machine, which contact a web server somewhere which runs the DW code and accesses the disk.  Therefore: if your DW instance is running on one machine only, then all users can send requests, but only the DW instance accesses the disk.

In detail:
  • Each user's computer runs their browser of choice.
  • One server machine runs the web server and DW code.
  • Each browser then contacts the web server and sends requests.
  • The web server access the files on the users' behalf and returns the HTML page to the users' browsers.

For example, my home system has multiple machines running various OSs (Linux, Windows n, iOS and Android). with multiple browsers: Firefox, Chrome, Internet Explorer and Edge.  All of these machines can contact http:192.168.1.250/dokuwiki, just as for any other web product.  Only apache:apache actually accesses the files, all locking is handled by Andi's fine code.

HTH.
topic: old pages, new media, not wanted (why do old page revisions always refer to the latest media file revisions)  in the forum: General Help and Support Features and Functionality
Avatar
MartinR #4
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 67229
Yes.

Consider that the pages are text files containing markup and links to named media files.  When displayed DW interprets the markup and fetches the linked pages to build the final web page that is sent over the net to the reader.  There is no hash or signature that identifies the media file, just the name.

If you want to keep old versions of media files you will have to adopt a naming scheme that incorporates a revision number or date in the file name.  For instance my file bells:uss_pensylvania.jpg will always be the latest version loaded.  To version it I would need:
bells:uss_pensylvania_001.jpg
bells:uss_pensylvania_002.jpg
...
topic: Create a report (at call) of pages by creation/edit date or date range  in the forum: General Help and Support General Stuff
Avatar
MartinR #5
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66974
 :blush: Obvious when you get a shove.  I'd tried to understand it in terms of screens and couldn't see it!  Thanks, Martin
topic: Let ACL permissions for @ALL not restrict other groups  in the forum: General Help and Support General Stuff
Avatar
MartinR #6
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66957
Sorry, no.  Details of ACLs were not published even to regular users, just a statement telling them what they were authorised to do.  My home system hides behind a firewall which I could open up, but haven't found a need to do so yet, particularly since it brings in the overhead of extra security and external DNS.
topic: Create a report (at call) of pages by creation/edit date or date range  in the forum: General Help and Support General Stuff
Avatar
MartinR #7
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66948
Not an answer I'm afraid, but two suggestions.
1) A directory listing will give you the time of the last change (ls -l for *NIX, dir something for Win).
2) Look in the meta directoy and you'll find two or three files corresponding to each page in the wiki.  Look in the .changed file and you'll see a simple listing of each change.  The first field is the date*, not sure about the next (mine seem to always be ::1), the C for created, E for edited, the path to the page, the user and finally the comment.

*The date field is the number of seconds since system zero.  Use date(1) to convert:
$ cat start.changes
1498084488    ::1    C    bells:start    martinr    created   
1498861751    ::1    E    bells:start    martinr    Hook for new set
$ date --date='@1498861751'
Fri 30 Jun 23:29:11 BST 2017

Which shows that this file was last edited on 30/6/2017.  I'm sure a grep script of a bit of Perl/python/php will give you your report.
topic: Let ACL permissions for @ALL not restrict other groups  in the forum: General Help and Support General Stuff
Avatar
MartinR #8
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66954
I think you'll have to litter.  Have a look at https://www.dokuwiki.org/acl,  There is no "inheritance" per se, it is achieved by a search path:

From my "wiki_acls" page:

"At each step below the parser looks for an entry which matches the user or any group to which he belongs (including @ALL). If there is no ACE go to the next step, if one ACE then use it, and if more than one give the greatest access. For instance @admins are all also @users, so don't need duplicate entries.

The steps are:

    The specific page being requested.
    The namespace in which the page is.
    Higher namespaces in turn (if any).
    The Global settings."

As soon as you apply @ALL to the subnamespace, ALL users will match it, and the search terminates at once.

I set up an admin page with two tables:
1)  List all the groups and a description of who is in them (description, not list)
2)  List resources, groups and access and an explanation,

When I was running this in a live application it worked fairly well.  We had three categories of users (with access to their namespaces) plus an operations area.  Users could modify their areas but only read most of the rest.  Admins could modify nearly everything with only the superuser able to mess with privileged reports such as the access log.
topic: Let ACL permissions for @ALL not restrict other groups  in the forum: General Help and Support General Stuff
Avatar
MartinR #9
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66949
You can specify an ACE for group @user.  for instance the ACL on my top level has:
@ALL - read
@user - upload

Which means that anyone can read the top level, but only logged in users can edit, create or upload.  If that is not fine-grained enough, in user manager you can add any group you like to those users that you wish to specify.
topic: Greetings to the Well of Knowledge!  in the forum: Community User Introductions
Avatar
MartinR #10
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66841
I've played with this idea before.  Is there any way to launch an appropriate program to deal with other format documents?  For instance it would be nice to launch Libre Office to handle .odts or the document viewer for .pdfs.  The sort of system I was aiming for would use DW to handle document metadata and then hand off the document processing to a word processor, editor or similar.  Actual documents could be kept in either a hidden namespace or else in a separate directory.  I realise that there are issues with file ownership, specifically they would all end up as apache:apache, but then DW's inbuilt ACLs can handle this problem.
topic: How to do nested list?  in the forum: General Help and Support Syntax and Usage
Avatar
MartinR #11
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66828
See https://www.dokuwiki.org/wiki:syntax#lists
topic: Spam Alerts  in the forum: Offtopic Forum Help
Avatar
MartinR #12
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66704
https://forum.dokuwiki.org/thread/17074

done m.t.
This post was edited on 2019-09-20, 22:31 by turnermm.
topic: Hello. What do you all think of MediaWiki? (I’m new to this forum)  in the forum: Offtopic Chit Chat
Avatar
MartinR #13
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66566
Just remember that the markup is different.  Don't do what a former colleague did; import pages from my DW site and paste them in a MW site - then accuse me of not knowing how to do the markup!  (I've been editing WP for nearly 10 years and could tech him a thing or two).
topic: Spam Alerts  in the forum: Offtopic Forum Help
Avatar
MartinR #14
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66511
https://forum.dokuwiki.org/thread/17040
topic: Solved | show the number of characters in text  in the forum: General Help and Support Features and Functionality
Avatar
MartinR #15
Member since Jul 2015 · 155 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66443
The extension manager on Frustrick also fails to find it.  Aparently the only thing tagged with "toolbox" is iphelper plugin.
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  3 ... 9  10  11  next 
Special queries
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-09-23, 19:57:38 (UTC +02:00)