[Mayan EDMS: 2653] Re: Filtering a document queryset on the ACL/role name

2018-08-17 Thread LeVon Smoker
And it would be neat to have some document info/metadata be made available as extended file attributes through listxattr and getxattr... On Thursday, August 9, 2018 at 2:32:56 PM UTC-4, LeVon Smoker wrote: > > I ended up creating my own version of the mountindex management command in >

[Mayan EDMS: 2637] Re: Customize the search form

2018-08-09 Thread LeVon Smoker
code changes. > > What do you mean by "change the field labels"? Can you expand on this? > This one might be simpler to implement. > > > On Tuesday, July 31, 2018 at 2:17:45 PM UTC-4, LeVon Smoker wrote: >> >> Is there a good way to do this to... >>

[Mayan EDMS: 2636] Re: Filtering a document queryset on the ACL/role name

2018-08-09 Thread LeVon Smoker
herit the permission. Or in the mean > time a filtering method via the mountindex command line to avoid needing to > change the code. Your question brings an interesting proposition to the > mountindex feature. > > On Tuesday, July 31, 2018 at 8:52:01 AM UTC-4, LeVon Smoker wrote

[Mayan EDMS: 2394] Search in Document preview

2018-03-27 Thread LeVon Smoker
Has anyone come up with a customization that allows searching a single document while previewing it? What our users do now is download and then use Word or Adobe Reader search functionality. I sometimes go to Content, then do Ctrl-F in the browser, but I think a more native "quick document sear

[Mayan EDMS: 2326] Re: Printing oddity

2018-03-08 Thread LeVon Smoker
I am running the latest 2.7.3 development branch. On Thursday, March 8, 2018 at 8:52:18 AM UTC-5, LeVon Smoker wrote: > > When printing a document from the Actions menu, I am getting four lines > which all say "text" on them at the end of every document. The browser > pri

[Mayan EDMS: 2317] Re: Help with Permissions

2018-03-06 Thread LeVon Smoker
Michael, Is it possible to get read access to https://gitlab.com/Michael.Price/mayan-edms/commits/feature/pagesearch_testing? On Friday, March 2, 2018 at 10:13:05 AM UTC-5, LeVon Smoker wrote: > > Thanks!! > > On Thursday, March 1, 2018 at 10:56:31 PM UTC-5, Michael Price wrote: &

[Mayan EDMS: 2300] Re: Help with Permissions

2018-03-02 Thread LeVon Smoker
> >>> Mayan uses two method of the ModelPermission to determine how an object >>> inherit permission from another. In the documents.apps file it is using the >>> .register_inheritance to correlate the DocumentPage and the Document model. >>> >&

[Mayan EDMS: 2292] Re: Help with Permissions

2018-03-01 Thread LeVon Smoker
Yes. This specific case is with the DocumentPageResult model which inherits from DocumentPage which inherits from the standard Django model not the Document model. DocumentPage as a 'document' property which I used for my workaround. Maybe there's a way to trick the function into using the docu

[Mayan EDMS: 2281] Re: Help with Permissions

2018-02-28 Thread LeVon Smoker
I have a hackish, hard-coded fix for this. A better fix would involve some to the DocumentPageResult model, but this works and I didn't feel like refactoring a bunch of code... In /usr/share/mayan-edms/mayan/apps/acls/managers.py, after line 144 (in the filter_by_access function), paste this in

[Mayan EDMS: 2277] Re: Help with Permissions

2018-02-28 Thread LeVon Smoker
I am having the same problem. Did you find a solution to this? On Tuesday, January 30, 2018 at 3:07:20 PM UTC-5, Ray Hendricks wrote: > > I have two document types "Default" and "Personal" > > I have two roles "Default Owner" and "Personal Owner" > > I have two Groups "Work" and "Personal" > > Jim

[Mayan EDMS: 2260] Re: Pagination patch for Cabinets Details

2018-01-30 Thread LeVon Smoker
'object': cabinet, 'title': _('Details of cabinet: %s') % cabinet.get_full_path (), } ) return data Standard disclaimers: not rigorously tested, it works for me, your mileage may vary On Wednesday, January 24, 2018 at 8:31:4

[Mayan EDMS: 2249] Pagination patch for Cabinets Details

2018-01-24 Thread LeVon Smoker
Has anyone developed a patch to add pagination for the documents view when going in through the Cabinets menu / All / Details? We have a cabinet with over 1000 documents in it, and the page takes minutes (or the browser locks up) to render all of them documents/thumbnails. -- --- You receive

[Mayan EDMS: 2013] Upload wizard question

2017-08-11 Thread LeVon Smoker
Roberto, Is there a release target date for the document upload wizard refactor? Specifically, I'm looking for the ability to add cabinets during upload. In the mean time, what's the best way to hack in cabinets on the upload wizard? Thanks, LeVon Smoker -- --- You received th

[Mayan EDMS: 1995] Bug re: EventType model

2017-08-10 Thread LeVon Smoker
In the master branch, the events_eventtype table is not created. (This is a git install of the development branch that I switched over to the master branch. I checked for the "Events/Event types" model on my pip/2.6.4 install using the url http://example.net/admin/events/eventtype/ and get the

[Mayan EDMS: 1991] Re: Adding Dashboard Widget

2017-08-10 Thread LeVon Smoker
This is awesome. Thanks for the quick responses. On Wednesday, August 9, 2017 at 1:39:36 PM UTC-4, LeVon Smoker wrote: > > I have a custom app (hrcsb_overrides) where I have am keeping my > customizations to Mayan. I added the below code to try to add a widget to > the home page a

[Mayan EDMS: 1987] Re: Adding Dashboard Widget

2017-08-09 Thread LeVon Smoker
I got this to work by removing the queryset parameter. Now I'm wondering how to *remove* specific widgets... LeVon S. On Wednesday, August 9, 2017 at 1:39:36 PM UTC-4, LeVon Smoker wrote: > > I have a custom app (hrcsb_overrides) where I have am keeping my > customizations to

[Mayan EDMS: 1986] Adding Dashboard Widget

2017-08-09 Thread LeVon Smoker
#x27;Cabinet' model. which I understand but I can't figure my way around this. Maybe I'm in the wrong place... Thanks, LeVon Smoker -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe fro

[Mayan EDMS: 1985] Re: Removing menus

2017-08-09 Thread LeVon Smoker
9537a5a5c1 >>> >>> https://gitlab.com/mayan-edms/mayan-edms/commit/524a0d0c35041ed8f683a6f0411720e550eafa09 >>> >>> Because it was not working 100% of the case. The updates must have >>> broken the main menu unbinding (when the source is None). >>>

[Mayan EDMS: 1982] Re: Removing menus

2017-08-08 Thread LeVon Smoker
Actually I didn't figure this out... On Tuesday, August 8, 2017 at 11:26:51 AM UTC-4, LeVon Smoker wrote: > > Is the procedure for removing menus from the home page the same as it used > to be? I had been removing the Tags menu, but at some point the code > stopped working. The

[Mayan EDMS: 1981] Error while testing a Mailing profile

2017-08-08 Thread LeVon Smoker
ecipient_list = split_recipient_list(recipients=[to]) File "/usr/share/mayan-edms/mayan/apps/mailer/utils.py" in split_recipient_list 16. result.extend(recipient.split(separator)) Exception Type: AttributeError at /mailer/user_mailers/1/test/ Exception Value: 'tuple

[Mayan EDMS: 1980] Re: Removing menus

2017-08-08 Thread LeVon Smoker
Figured it out. On Tuesday, August 8, 2017 at 11:26:51 AM UTC-4, LeVon Smoker wrote: > > Is the procedure for removing menus from the home page the same as it used > to be? I had been removing the Tags menu, but at some point the code > stopped working. The formerly-working code

[Mayan EDMS: 1979] Removing menus

2017-08-08 Thread LeVon Smoker
self): super(HRCSBOverridesApp, self).ready() # Remove "Tags" links from main menu menu_main.unbind_links( links=(link_tag_list,), ) mayan/apps/hrcsb_overrides/apps.py Thanks, LeVon Smoker -- --- You received this message because you are subscribed to

[Mayan EDMS: 1364] Re: Debugging

2016-05-17 Thread LeVon Smoker
Examples attached. > > We fixed the issue with the sources editing and are doing final testing > before releasing bugfix version 2.1.1 > > On Tuesday, May 17, 2016 at 3:23:05 PM UTC-4, LeVon Smoker wrote: >> >> I found that the upgrade only partially migrated the databa

[Mayan EDMS: 1362] Re: Debugging

2016-05-17 Thread LeVon Smoker
I found that the upgrade only partially migrated the database changes. After running 'mayan-edms.py performupgrade' a second time all my 'Server errors' went away except for when I try to edit Sources. Note: using MySQL 5.5.47 On Tuesday, May 17, 2016 at 11:15:21 AM UTC-4

[Mayan EDMS: 1361] Debugging

2016-05-17 Thread LeVon Smoker
What is supposed to happen when the DEBUG setting in local.py is set to True? I can't see any difference in any of the log files. Are all of the messages sent to the console? My root problem is that after upgrading from 2.0.2 to 2.1, I get a "Server error" when trying to delete trashed document

Re: [Mayan EDMS: 1300] Date added on documents

2016-03-10 Thread LeVon Smoker
ded in the next release, version 2.1. Thanks for > reporting this. > > On Monday, February 29, 2016 at 10:06:16 AM UTC-4, LeVon Smoker wrote: >> >> I have both TIME_ZONE in my settings file and my logged-in user's Locale >> profile set to America/New_York, but newl

Re: [Mayan EDMS: 1298] Date added on documents

2016-02-29 Thread LeVon Smoker
h, but I have not > tested that. If it does work then an update would needed to use the value > of the TIME_ZONE variable as default is the user has not selected one. Is > this the behavior you are expecting? > On Feb 18, 2016 1:05 PM, "LeVon Smoker" > > wrote:

[Mayan EDMS: 1286] Re: Watch Folder Network Address

2016-02-19 Thread LeVon Smoker
Much depends on how your system/installation is configured. You need to ensure that the user that Mayan is running under (which might be in your uwsgi.ini file) has access to the mount directory. Then use chown and/or chmod on that directory. Beyond that info, look for general help on unix/linu

[Mayan EDMS: 1281] Re: Watch Folder Network Address

2016-02-18 Thread LeVon Smoker
I mounted the network share to a local directory by adding a line in my /etc/fstab file. //mysmbserver/Mayan_EDMS_Document_Storage/ /media/staging_folder cifs credentials=/etc/smbcredentials,iocharset=utf8 0 0 The file /etc/smbcreddentials has this: username=myusername password=mysecretpassword

[Mayan EDMS: 1280] Date added on documents

2016-02-18 Thread LeVon Smoker
Why does the 'Date added' field show in UTC when viewing a document's properties, but show in local time when viewing the document rows through the admin interface? I'd like both to show in my local time which I have set in mayan/settings/local.py with TIME_ZONE = 'America/New_York' Thanks. Le

[Mayan EDMS: 1274] Re: A cosmetic bug and a question

2016-02-16 Thread LeVon Smoker
tter. If not, not a problem and I can recreate the > issue by hand and debug. > > Thanks LeVon. > > On Thursday, February 11, 2016 at 3:39:06 PM UTC-4, LeVon Smoker wrote: >> >> In the first attached screenshot... >> >> 1. the title of the page when viewing

[Mayan EDMS: 1273] Re: A cosmetic bug and a question

2016-02-16 Thread LeVon Smoker
ng order) that consistently > recreates the issue? If it can be in as little steps as possible so I can > write a test, the better. If not, not a problem and I can recreate the > issue by hand and debug. > > Thanks LeVon. > > On Thursday, February 11, 2016 at 3:39:06

[Mayan EDMS: 1252] A cosmetic bug and a question

2016-02-11 Thread LeVon Smoker
In the first attached screenshot... 1. the title of the page when viewing Indexes contains HTML - no big deal just not pretty 2. what would cause a blank entry in the Node list? (The second attached screenshot shows the Index definition.) There are 4 documents of the type 'Agency Documents' Th

[Mayan EDMS: 1249] Re: Problem with metadata lookup options

2016-02-10 Thread LeVon Smoker
raise ValidationError( >>> _('Value is not one of the provided options.') >>> ) >>> >>> Adding the 'value and' to the if statement allows empty values. Of >>> course if the metadata type is required, that w

[Mayan EDMS: 1243] Update checkbox

2016-02-02 Thread LeVon Smoker
What is the intended effect of the 'Update' checkbox on the Upload Document form? -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+unsubscr...@goo

[Mayan EDMS: 1242] Update checkbox

2016-02-02 Thread LeVon Smoker
What is the intended effect of the 'Update' checkbox on the Upload Document form? -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+unsubscr...@goo

[Mayan EDMS: 1241] Re: Problem with metadata lookup options

2016-02-02 Thread LeVon Smoker
) Adding the 'value and' to the if statement allows empty values. Of course if the metadata type is required, that will be caught by the preceding code and raise the appropriate error. Thoughts? LeVon S. On Monday, February 1, 2016 at 1:44:15 PM UTC-5, LeVon Smoker wrote:

[Mayan EDMS: 1240] Problem with metadata lookup options

2016-02-01 Thread LeVon Smoker
metadata based on document type. Or am I missing something? Thanks, LeVon Smoker -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[Mayan EDMS: 1224] Re: Django ORM

2016-01-13 Thread LeVon Smoker
. >- Execute it. > > The script uses `get_or_create` method so you can run it several time and > it will only create the access lists once. I tested it with the install > generated by the docker-compose method ( > https://gitlab.com/mayan-edms/mayan-edms-docker) > > > O

[Mayan EDMS: 1218] Django ORM

2016-01-12 Thread LeVon Smoker
I've had a few failed attempts at getting to the data through the Django ORM. I'd like to get at the ACLs model so I can create a bunch of document types (via a script) with varying roles and identical permissions lists. Is the ORM a reasonable way to do this? -- --- You received this messag

[Mayan EDMS: 1216] Re: Suggestions for handling security

2016-01-12 Thread LeVon Smoker
ounting - Invoices" -> "Accounting read only" -> [document view] > "Accounting - Invoices" -> "Accounting editor" -> [extra permissions] > "Human resources - complaint" -> "Human resources read only" -> [document >

[Mayan EDMS: 1207] Document renaming app

2016-01-08 Thread LeVon Smoker
I added this app to my installation, but then I realized that all documents I uploaded had names like 'Document stub, id: 9' instead of the uploaded file name (even with no renaming templates defined). Disabling the app in settings/local.py fixed the problem. Is this a bug or is there something

[Mayan EDMS: 1203] Suggestions for handling security

2016-01-07 Thread LeVon Smoker
t we want? LeVon Smoker -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+unsubscr...@googlegroups.com. For more options, visit https:/