Commits

Show all
Author Commit Message Labels Comments Date
Michael Granger
Fix the 'parent' command in the treequel shell and the success message for the 'cp' command.
Tags
2 tags
Michael Granger
Treequel shell cleanup, new subcommand, Treequel::Directory#bound_user * 'treequel' shell: - Options and help consistency fixes - Added 'whoami' command * Make the bound user's DN fetchable via Treequel::Directory#bound_user
Michael Granger
Added 'cp' treequel shell command, removed FOLDED_LDIF_ATTRVAL_SPEC pattern.
Michael Granger
Treequel shell cleanup, support config-loaded directory, Branch#move fixes * Treequel shell: - Cleaned up the option-parsing/startup code - Made the shell use the system config with no URL argument via Treequel.directory_from_config instead of just defaulting to ldap://localhost - Fixed the 'mv' command * Cleaned up the Treequel::Branch#move command, removing the unfinished attribute-modification code, which was redundant.
Michael Granger
Treequel shell work, made schema tables more Hash-like. * Treequel shell: - Added a 'mv' command - Added a confirmation for the deletion of each sub-entry to 'rm', and a -f(orce) flag to avoid it. * Made Treequel::Schema::Table a bit more Hash-like with more delegation.
Michael Granger
Fixed LDIF and highlighting in treequel shell * Replaced LDIF function from ruby-ldap, as it modifies its receiver and has hardcoded column width. * Made the LDIF-matching pattern handle folded attribute values.
Michael Granger
More specs, more YARD docs. * Finished SortedResultsControl spec * Added YARD docs for the top-level namespace, started work on the rest. * Added a warning when trying to use the ContentSyncControl * Removed the PersistentSearchControl, which isn't supported by any of my test servers, and has been replaced by the ContentSyncControl anyway. * Criteria in SortedResultsControl are now contained in a Struct instead of a Hash for…
Michael Granger
Treequel shell bugfixes, #empty? on Branchsets and BranchCollections * Handle tab when the command line is empty in the treequel shell. (Thanks Mahlon) * Add an #empty? predicate method to both Branchsets and BranchCollections (one spec still pending).
Michael Granger
Added an 'irb' command to the treequel shell, fixed build-number parsing.
Michael Granger
Implemented the `-b bind_dn` option.
Michael Granger
Merged 233:1d06d28159a6
Michael Granger
Adding the beginnings of ActiveDirectory support, treequel shell options, server introspection. * Treequel shell: - Added a few initial command-line options for connection type, bind DN, etc. - Made colorization of encoded and URL attributes consistent with regular ones. - Downcase attribute names before using them in the 'cdn' command. * Added more server-introspection support to Treequel::Directory; added more control OIDs, and new methods for fetching supported extensions and feat…
Michael Granger
Merged with 230:b994d8d9d608
Michael Granger
Make treequel shell's 'cat' command error for non-existant entries
Michael Granger
Convert the option parsers to a class global instead of a constant
Michael Granger
Fix the 'grep' command in the Treequel shell.
Michael Granger
Operational attributes propagation and treequel shell fixes. * Fix propagation of Treequel::Branch#include_operational_attrs flag through search. * Made short-form 'ls' output show entries with subordinates appear with a '/'. * Removed some old copied cruft from the treequel shell. * Added content-sync control experiment. * Got a little closer to content-sync control functioning.
Michael Granger
Merged with d77a0bf26034
Michael Granger
Improvements to the treequel shell, fixes for 1.9.1. * Fixes for 1.9.1: - Handle the change in the URI::REGEXP namespace under 1.9.1 - Eliminated most of the shadowed variable warnings - Fixed the compact 'ls' display * Got the 'create' treequel shell command working reasonably well * Made Treequel::Branch#object_classes raise an exception if one of the specified additional_classes
Michael Granger
Reworked LDIF display colors in the shell to be more visible.
Michael Granger
Make the treequel shell fall back to plain connect (with a warning) if TLS fails.
Michael Granger
Treequel shell fix, splitting off the LDAP monitor example, version bump. * Removed the check for an existing user record from the 'bind' command, as the user in question might not be visible until the bind happens. * Split off the ldap-monitor example into a project of its own (http://deveiate.org/misc.html). * Bumped the version to 1.0.2.
Michael Granger
Fixed the shell 'edit' command, cleaned up LDIF output, dependency fixes. - Made the LDIF output highlight correctly by adding LDIF regexen - Dup output values before converting them to LDIF - Removed dependencies are aren't required except for the 'treequel' shell.
Michael Granger
Adding '+' mode to 'cat' (stolen from shelldap)
Michael Granger
Added Branchset#as, added 'yaml'/disabled 'edit' command in treequel shell
Tags
1.0.1
Michael Granger
Factored out generic utility code from the treequel binary; added color logging
Michael Granger
Fixing highlighting for wrapped LDIF values in the treequel shell.
Michael Granger
Version bump, build system updates, made 'treequel' gem-binary-friendly, and some experiments. * Beginnings of experimental rack middleware to do LDAP authentication. * Taking a different tack in the OHM idea. * Removed the $0 == __FILE__ wrapper around 'treequel' startup so it works from the gem. * Bumping version to 1.0.1.
Michael Granger
Adding features to bin/treequel * Persistant history * Completion for attributes in command arguments * New 'rm' and 'grep' commands * Made the prompt for 'bind' a little clearer
Michael Granger
Factored out short- and long-ls output generation into separate methods
  1. Prev
  2. Next