Home > How To > How To File Type Limit Content Search? Ex. IN *.htm* Find Word "?tant"
How To File Type Limit Content Search? Ex. IN *.htm* Find Word "?tant"
Not the answer you're looking for? Showing results for Search instead for Do you mean Register · Sign In · Help English Français 日本語 Get Started Box Community News Get Started Guide for New Admins Get Started You can find it here: https://github.com/MajdEdriss/moodle/blob/master/assignsubmission_file.php Thanks Show Majd Edriss added a comment - 05/Aug/14 7:26 PM Hi Jonathon and all, I tested the patch in Moodle 2.6.4 (20140731) and Moodle Thanks, Alex Show Alexander Bias added a comment - 25/Jan/16 10:10 PM Hi Jonathon Fowler , as an adopter who would love to see this in action, I would like to More about the author
Maybe this would be better served by having module defaults? You can also filter results to those within a specific folder by typing the name or by navigating to a folder through your folder structure. Hide Permalink Michael Milette added a comment - 02/Dec/14 10:50 PM Sounds good to me! I also think they are barely readable (just my opinion). http://forum.sublimetext.com/t/find-in-files-of-filetype/4809
With all this great effort is being put in to adding this highly desirable functionality, Shouldn't most of the code reside in a reusable centralized lib\... I wasn't keen on cloning the 'File submissions' plugin only to slightly augment it with this functionality. Detect MS Windows Sort a string, sort of Is it rude to use tracking softwares for the emails that you send to potential advisors? Owner Any Owner is the default for this filter.
Everyone's Tags: jpg View All (1) 0 Kudos Need Help? Only the permitted options will be available as options when restricting an assignment, potentially reducing the size of the list. actually Forrest's son? BTW, I'm intending to get this feature as close to finished as I can while here at Moodlemoot AU.
Hide Permalink Alexander Bias added a comment - 16/Nov/15 7:18 PM Hi all, we have several users who are keen to see this in production. Hide Permalink Jonathon Fowler added a comment - 09/May/14 12:48 PM Jun Wan: That's correct. Show Jun Wan added a comment - 09/May/14 12:28 PM - edited I am able to install and make it available. https://tracker.moodle.org/browse/MDL-39913 You should build a webservice and load the list with the core/ajax module.
No unit tests or behat tests for any of this new code (deal breaker). However, some permissions are common, including: Read permissions Modify permissions Change owner Delete To set, view, change, or remove file and folder permissions Open Windows Explorer. (Click Start, point to All How much scope do we have here for adding to or correcting the mimetype data? I want to grep just .h and .cpp for now, but maybe a few others in the future.
I know about the Too many params passed to js_call_amd("assignsubmission_file/formctl_types", "initialise") message and expect I'll have to convert the fetch of file types and groups into an AJAX call. More Help Show David Balch added a comment - 19/Aug/14 3:57 PM - edited Ah - that < Add | Remove > UI is much better! Cheers Jonathon Hide Permalink David Balch added a comment - 06/Mar/14 12:52 PM Hi Jonathon. When a student edits their submission, the filepicker should not allow files to be uploaded that do not match the specified filetypes.
Saving a specific search query as a Box bookmark For information on how to save a specific search query as a Box bookmark for future use, see: Box Search Tips. my review here grep -r --include=*.txt 'searchterm' ./ grep: command -r: recursively --include: all *.txt: text files 'searchterm': What to search ./: Start at current directory. I've also created a small commit (https://github.com/tonyjbutler/moodle/commit/f1724295acd464ca220d0a9e62958406c1f2d00c) that removes the 'Other file types...' text and just lists the extensions if nothing has been selected from the list of type groups, and Andreas Show Andreas Panagiotopoulos added a comment - 03/Apr/14 2:39 PM Thank you Jonathar for your answer.
Instead of using a custom admin setting - why not use the already existing groupings in the "get_mimetypes_array" function. use statements should be one class per line: http://docs.moodle.org/dev/Coding_style#Namespaces It would be better to use "new lang_string()" instead of "get_string()" because they are lazy loaded. PDF in that mimetype list currently has no group - I would put PDF in it's own group and ignore any mimetypes that do not have a group. click site Some of your comments do not follow the coding style rules (start with a capital, end with punctuation).
Also - very minor - $('#' + id) is better as $(document.getElementById(id)) (properly handles any kind of id - even with special chars like ':'. Configuration now prefers mimetype and group names instead of file extensions. Hide Permalink Jonathon Fowler added a comment - 02/Feb/16 2:05 PM A note: Behat testing for the rejection of a not-permitted file type doesn't seem doable, as far as I can
There's a concern with using file extensions that I'll touch on further down.
The "Managing display" approach should work even without the rest. What kind of g-forces do birds experience and how does it compare to humans? The separate plugin is currently what we're going with until something more official is born. Edited to add : if you don't want to run the code, it looks like this at the moment: Hide Permalink Mark Pearson added a comment - 16/Oct/15 11:04 PM -
Type Any Typeis the default, and you can use the dropdown menu to select from a range of content types (including Audio, Box Note, or Image). Hide Permalink Michael Milette added a comment - 10/Oct/14 10:37 AM Haven't seen any updates in a while. Commit at https://github.com/tonyjbutler/moodle/commit/7c8f9134769262217e8ed9a8b17accd4a54a73c2 if you want to use it. navigate to this website At the moment there is nothing stopping someone enabling plagiarism detection which requires .doc, .pdf etc and then setting the file restriction to an incompatible type like .zip.
Only the permitted options will be available as options when restricting an assignment, potentially reducing the size of the list. Any other occurrences of the unselected type in other groups also need to be unselected, unless the containing group of any duplicate is itself selected, otherwise on form submission the option I installed it on a test environment and it seems it works fine. Log In Find in Files of Filetype Technical Support jtreher 2012-03-05 16:07:02 UTC #1 I'm new to sublime coming from Eclipse.
You can filter based on the following categories: Folder Owner Type Date Modified Size Search Within Folder Any Folder is the default. Note: When a document is uploaded initially, its created date and updated date is the same. Note that there's configuration under "Site administration / Plugins / Activity modules / Assignment / Submission plugins / File submissions" with limited defaults to allow site admins to whittle down Moodle's use statements should be one per line - as per the coding guidelines.
You have to escape that * character using backward slash. Show Jonathon Fowler added a comment - 08/Aug/14 2:34 PM A quick addition: https://github.com/jonof/moodle/commit/95dca7c7190488281795cc569b599cb2c3010c87 This uses CSS to style the checkboxes into a tiered arrangement, and when the group-level checkbox is For example, you can grant Read and Write permissions to the entire Finance group for the file payroll.dat. The times are always relative to the time the query is executed.
Jonathon Hide Permalink David Balch added a comment - 06/Jul/15 4:21 PM > can't see much reason why we'd want an "Other file types" text field anymore Agreed - removing it The "Web-safe" groups were initially a bit confusing, but figured out that they're convenience options to select a sub-set of the related groups. For example, a quick GIMP mockup: That would demand a new form element be built, and MDL-45385 identifies that multiselect list controls aren't that great on iOS. Are you using the code on Moodle 2.6 or later?
Also, did the plugin install correctly from the 'Notifications' page? The "Web-safe" groups were initially a bit confusing, but figured out that they're convenience options to select a sub-set of the related groups. Your file has not been submitted. use statements should be one class per line: http://docs.moodle.org/dev/Coding_style#Namespaces It would be better to use "new lang_string()" instead of "get_string()" because they are lazy loaded.