Created
September 15, 2017 21:50
-
-
Save tobiasvl/a00bb4e01b4df3d55f6e3696bf77b30a to your computer and use it in GitHub Desktop.
Instances of "hack" in the Cerebrum source code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Cerebrum/Constants.py:# This is probably a hack that is done to make makedb create and update | |
| Cerebrum/Database.py: # Not sure that this is the proper default, but as a quick hack it | |
| Cerebrum/Database.py: dictionary to the backend's execute(). This hack implies a performance | |
| Cerebrum/Database.py: # Translate Cerebrum-specific hacks ([:]-syntax we love, e.g.). We | |
| Cerebrum/Database.py: The class is a hairy monstrosity of an enormous hack. SQLite does NOT | |
| Cerebrum/Database.py: """SQLite-specific cursor hacks. | |
| Cerebrum/Database.py: # Since sequences are not supported, we have to hack around them | |
| Cerebrum/Database.py: Hmm... a fix of a patch of an extension of a hack. This is badly | |
| Cerebrum/Person.py: # such a more correct change, we'll live with this hack. | |
| Cerebrum/Person.py: :param ret_primary_acc: Hack to make person_id become account_id. | |
| Cerebrum/default_config.py:# Fingerprints can, in theory, be hacked through collision attacks. Use sha256 | |
| Cerebrum/modules/AuthPGP.py:# WARNING: Hackish code below =) | |
| Cerebrum/modules/EventLog.py: # TODO: Fix everything. The entire module is a hack. log_change() | |
| Cerebrum/modules/EventLog.py: # TODO: The method name is kind of a hack.. We should load | |
| Cerebrum/modules/EventLog.py: # This is kind of hackish. We want to have the possibility not to | |
| Cerebrum/modules/NISUtils.py:class HackUserNetGroupUIO(UserNetGroup): | |
| Cerebrum/modules/NISUtils.py: """Class for hacking members of {meta_ansatt,ansatt}@<sko> groups. | |
| Cerebrum/modules/NISUtils.py: super(HackUserNetGroupUIO, self).__init__(group_spread, member_spread) | |
| Cerebrum/modules/NISUtils.py: ret_groups, ret_non_groups = super(HackUserNetGroupUIO, | |
| Cerebrum/modules/NISUtils.py: # as well :( This is the hackish part. | |
| Cerebrum/modules/NISUtils.py: # hacks. Continue as nothing had happened with no error. | |
| Cerebrum/modules/OrgLDIF.py: # (This may be a temporary hack, until we have killed the | |
| Cerebrum/modules/PosixExport.py: # Hack to reserve the name | |
| Cerebrum/modules/abcenterprise/ABCObj2Cerebrum.py: # Hack to ignore organizations for now. They are all under one. | |
| Cerebrum/modules/ad2/winrm.py: to hack its way in, or do we need to allow those? | |
| Cerebrum/modules/bofhd/auth.py: # this is a hack | |
| Cerebrum/modules/bofhd/auth.py: # this is a hack | |
| Cerebrum/modules/bofhd/auth.py: # hack (fix for users with no registered home at UiO) | |
| Cerebrum/modules/bofhd/auth.py: # end hack | |
| Cerebrum/modules/bofhd/auth.py: # A bit of a hack: Restrict the kinds of shells a normal user | |
| Cerebrum/modules/cerelog.py: # IVR 2007-02-08 FIXME: This is a bit of hack, actually. formatTime is | |
| Cerebrum/modules/cis/SoapListener.py:### Hacks at Soaplib/Twisted | |
| Cerebrum/modules/cis/SoapListener.py:### Below is collections of different hacks of the soaplib and twisted to fix | |
| Cerebrum/modules/cis/SoapListener.py: TODO: This is a hack, twisted should have a better way of modifying | |
| Cerebrum/modules/cis/auth.py: # TODO this is a hack, check if these attributes are needed | |
| Cerebrum/modules/cis/default_config.py:# can, in theory, be hacked through collision attacks. Use SHA-256 or SHA-512 in | |
| Cerebrum/modules/no/Indigo/bofhd_go_cmds.py: # Quick fix to replace the `person_find_uio` hack | |
| Cerebrum/modules/no/fodselsnr.py: # FS/SO hack for midlertidige nummer. Urk. | |
| Binary file Cerebrum/modules/no/fodselsnr.py matches | |
| Cerebrum/modules/no/hia/AD2sync.py: This is a temporary hack, while waiting for the functionality in | |
| Cerebrum/modules/no/uio/EmailLDAP.py: # module. We have to hack our way around it. For UiO, simply | |
| Cerebrum/modules/no/uio/Ephorte.py: # This is a bit hackish, see the class comment for more info. | |
| Cerebrum/modules/no/uio/OrgLDIF.py: # Hacks for old LDAP structure | |
| Cerebrum/modules/no/uio/OrgLDIF.py: # which needs to undo the above hacks: '#dn' with the new DN, and | |
| Cerebrum/modules/no/uio/PosixExport.py: """Class for hacking members of {meta_ansatt,ansatt}@<sko> groups. | |
| Cerebrum/modules/no/uio/PosixLDIF.py: # This is a hack. When it fails, ignore it silently. | |
| Cerebrum/modules/no/uio/bofhd_ephorte_cmds.py: # This is a hack needed by the archivists. | |
| Cerebrum/modules/no/uio/bofhd_ephorte_cmds.py: # This is a hack needed by the archivists. | |
| Cerebrum/modules/no/uio/bofhd_uio_cmds.py: # FIXME: This hack is needed until we have a proper architecture | |
| Cerebrum/modules/no/uio/bofhd_uio_cmds.py: # TODO: hack to omit bug when inserting new key/value pairs in db_row | |
| Cerebrum/modules/no/uio/bofhd_uio_cmds.py: # See hack in list_command | |
| Cerebrum/modules/no/uio/bofhd_uio_cmds.py: # More hacks follow. | |
| Cerebrum/modules/no/uio/bofhd_uio_cmds.py: ## Ugly hack: We use membership in a given group (defined in | |
| Cerebrum/modules/tsd/bofhd_tsd_cmds.py: # This is a hack that is needed because TSD-bofh *is* a giant hack | |
| Cerebrum/modules/virthome/VirtAccount.py: # Hack to offset Account using AccountType | |
| Cerebrum/modules/virthome/VirtAccount.py: # Hack to offset Account using AccountHome | |
| Cerebrum/modules/xmlutils/sapxml2object.py: # elements is the easiest approach. This is an ugly hack, but | |
| Cerebrum/modules/event_publisher/eventlog.py: # Handling ValueError here is a hack for handling entities that can't | |
| Cerebrum/rest/api/utils.py: # hack to decode db-strings in utf-8 | |
| Cerebrum/rest/api/v1/account.py: # The following hack ensures that we end up with a latin1 string | |
| Cerebrum/rest/api/v1/account.py: # The following hack ensures that we end up with a latin1 string | |
| Cerebrum/rest/api/v1/account.py: # The following hack ensures that we end up with a latin1 string | |
| Cerebrum/rest/api/v1/person.py: # Hack to represent publication reservation | |
| clients/examples/bofh.py: # The readline doc su**s. This ugly hack aparently | |
| consumers/no/uio/consumer_sap.py: # TODO: This is a ULTRA-UGLY hack. Remove this when Cerebrum can Unicode in | |
| contrib/generate_mail_ldif.py: # This is really a bad hack. This LDIF generator should | |
| contrib/generate_mail_ldif.py: # in a non-hackis-way. | |
| contrib/generate_nismaps.py:from Cerebrum.modules.NISUtils import HackUserNetGroupUIO | |
| contrib/generate_nismaps.py: 'mnetgroup=', 'zone=', 'this-is-an-ugly-hack=']) | |
| contrib/generate_nismaps.py: elif opt in ('--this-is-an-ugly-hack',): | |
| contrib/generate_nismaps.py: ung = HackUserNetGroupUIO(group_spread, user_spread) | |
| contrib/join_persons.py: # hack. Ephorte.py will be redesigned pretty soon. | |
| contrib/migrate/import_emaildomains.py: # Hack to get a hit when doing 'in' | |
| contrib/migrate/migrate_spreads.py:# TODO: Factor out this and generalize it! This is a BAD hack | |
| contrib/no/hia/import_SAP_person.py: addresses and the way Cerebrum models them, so we hack away one pretty | |
| contrib/no/hiof/generate_fronter_xml.py: # FIXME: this is so horribly hackish. There should be a general way of | |
| contrib/no/hiof/populate_fronter_groups.py: # grab the earliest of the entries. This multisemester hackery is | |
| contrib/no/hr2fs-person.py: """This is a performance enhacing hack. | |
| contrib/no/hr2fs-person.py: do not want to hack find_-methods so this function creates closures that | |
| contrib/no/hr2fs-person.py: # This is a performance improvement hack. It can be removed, if memory is | |
| contrib/no/nmh/ADrenameuser.py:class ADrenameHack(ADutilMixIn.ADuserUtil): | |
| contrib/no/nmh/ADrenameuser.py: adrename = ADrenameHack(db, constants, | |
| contrib/no/pop_ad_tbl.py:#Stygt hack, men det virker. | |
| contrib/no/pop_ad_tbl.py: #Stygt hack, men det virker. | |
| contrib/no/pop_ad_tbl.py:#Stygt hack, men det virker. | |
| contrib/no/pop_ad_tbl.py: #Stygt hack, men det virker. | |
| contrib/no/uio/generate_frida_export.py: # FIXME: hack to make things easier afterwards | |
| contrib/no/uio/generate_frida_export.py: # FIXME: DateTime hack. SIGTHTBABW | |
| contrib/no/uio/generate_fronter_full.py:# Fronter. We wanna filter 'em out. It's a hack, but it is faster to | |
| contrib/no/uio/generate_services_ldif.py:Quick hack. TODO: | |
| contrib/no/uio/import_HR_person.py: # FIXME: This is a speed hack, to avoid find()'s overhead. This is API | |
| contrib/no/uio/populate_ephorte.py: # GRUSOMT HACK | |
| contrib/no/uio/populate_ephorte.py: # Det gamle grusomme hacket med å dumpe OU-tabell fra ePhorte og lese | |
| contrib/no/uio/populate_ephorte.py: # GRUSOMT HACK SLUTT | |
| contrib/no/uio/populate_fronter_groups.py:# Fronter. We wanna filter 'em out. It's a hack, but it is faster to | |
| contrib/no/uio/populate_fronter_groups.py: # It's a bad hack | |
| contrib/no/uio/populate_fronter_groups.py: # It's a bad hack | |
| contrib/no/uio/populate_fronter_groups.py: # TODO: generaliser ifi-hack seinare | |
| contrib/no/uio/populate_fronter_groups.py: ifi_hack = True | |
| contrib/no/uio/populate_fronter_groups.py: ifi_hack = False | |
| contrib/no/uio/populate_fronter_groups.py: if ifi_hack: | |
| contrib/no/uio/populate_fronter_groups.py: if ifi_hack: | |
| contrib/no/uio/populate_fronter_groups.py: if ifi_hack: | |
| contrib/no/uio/populate_fronter_groups.py: if ifi_hack: | |
| contrib/no/uio/populate_fronter_groups.py: if ifi_hack: | |
| Binary file contrib/no/uio/populate_fronter_groups.py matches | |
| contrib/no/uio/process_digeks.py: TODO: This is a hack/workaround until the process (and FS data) is standardized. | |
| contrib/no/uio/sync_ephorte_persons.py: # Temporary hack to return prettier error-message if EphorteWS returns | |
| contrib/virthome/assign_permissions.py:establish opsets for bofhd commands. uiocerebrum/hacks/perm_oppdatering.py | |
| contrib/virthome/expire_notifier.py: This is a convenience hack -- we get a nice error message, without | |
| COPYING: `Gnomovision' (which makes passes at compilers) written by James Hacker. | |
| doc/admin/index.rst:TODO: As the installation procedure for Cerebrum is a big hack, | |
| doc/book.xml:<!ENTITY devel-hacking-chapter SYSTEM "devel/hacking.rst"> | |
| doc/book.xml: <title>Hacking</title> | |
| doc/book.xml: &devel-hacking-chapter; | |
| doc/devel/index.rst:* `Hacking Cerebrum <hacking.html>`_ | |
| doc/multi-languages/multi-language-support.rst:navnehacks). Ulempen er at navneinformasjon blir atter mer komplisert (det | |
| doc/virthome/virthome-test-setup.rst: db.cl_init(change_program='manual hack') | |
| doc/virthome/virthome-test-setup.rst: db.cl_init(change_program='manual hack') | |
| MANIFEST.in:include HACKING | |
| servers/cis/testsuite/test_individuationservice.py: # hack the create_date in change_log | |
| servers/cis/testsuite/test_individuationservice.py: # hack the create_date in change_log | |
| setup.py: # This is all very hacky and weird | |
| testsuite/tests/test_core/test_core_Entity/test_EntityName.py: u""" TODO: This is a hack. | |
| testsuite/tests/test_core/test_core_pwcheck.py: check_password.cereconf = cereconf # ugly hack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment