1. 08 Nov, 2019 23 commits
    • Gabriel Monnerat's avatar
      a16a937b
    • Gabriel Monnerat's avatar
    • Gabriel Monnerat's avatar
      erp5_document_scanner: Typo · 31eaf348
      Gabriel Monnerat authored
      31eaf348
    • Gabriel Monnerat's avatar
      erp5_document_scanner: remove the state published · d8eaa3b9
      Gabriel Monnerat authored
      Users can make mistakes and publish the document to everyone
      d8eaa3b9
    • Gabriel Monnerat's avatar
    • Gabriel Monnerat's avatar
    • Gabriel Monnerat's avatar
      erp5_document_scanner: We need to create active process manager · 9f4af817
      Gabriel Monnerat authored
      Normal users can not call it directly
      9f4af817
    • Gabriel Monnerat's avatar
      erp5_document_scanner: Set http_cache · 51b5f4e1
      Gabriel Monnerat authored
      51b5f4e1
    • Gabriel Monnerat's avatar
    • Gabriel Monnerat's avatar
      a28dc032
    • Gabriel Monnerat's avatar
      8731eb08
    • Gabriel Monnerat's avatar
      8818500f
    • Gabriel Monnerat's avatar
    • Gabriel Monnerat's avatar
    • Gabriel Monnerat's avatar
    • Gabriel Monnerat's avatar
      erp5_document_scanner: Fix code · 723bdbd7
      Gabriel Monnerat authored
      723bdbd7
    • Gabriel Monnerat's avatar
      erp5_document_scanner: Add gadget to scanner documents using mobile · 3b3326c5
      Gabriel Monnerat authored
      For now, this is chrome only
      
      erp5_document_scanner: Add dialog to upload images
      
      erp5_document_scanner: Add script to upload
      
      erp5_document_scanner: Improve CSS
      
      erp5_document_scanner: Improve gadget
      
      erp5_document_scanner: store informations used by user to cropper in browser
      
      erp5_document_scanner: Fix css to mobile browsers
      
      erp5_document_scanner: display alert just to debug easily in mobile
      
      erp5_document_scanner: use .push instead of .then, in order to handle promise cancellation
      
      erp5_document_scanner: make jslint happy
      
      erp5_document_scanner: stop using addEventListener and alert
      
      Use onEvent instead of addEventListener
      
      erp5_document_scanner: use onEvent instead of addEventListener to crop image
      
      erp5_document_scanner: use onEvent instead of addEventListener
      
      erp5_document_scanner: Use promises properly in order to handle promise cancellation
      
      erp5_document_scanner: Improve gadget to store images captured in Active Process
      
      erp5_document_scanner: Simplify code
      
      erp5_document_scanner: improve code to get images from Active Process
      
      erp5_document_scanner: refactor code to reuse Base_contribute and create PDF with all images in background after submit
      
      erp5_document_scanner: Remove Active Process after create the PDF
      
      erp5_document_scanner: Clean up
      
      erp5_document_scanner: avoid propagate your_document_scanner_gadget to activity
      
      erp5_document_scanner: Display video again after capture image
      
      erp5_ingestion: Allow pass extra properties to create document using portal_contributions
      
      erp5_document_scanner: Avoid to create empty Active Process
      
      erp5_document_scanner: Typo
      
      erp5_document_scanner: Improve titles
      
      erp5_document_scanner: Set context as follow up
      
      erp5_document_scanner: move field to hidden section
      
      fixup! erp5_document_scanner: move field to hidden section
      
      erp5_document_scanner: Remove jiodev.js
      
      erp5_document_scanner: Fix CSS
      
      erp5_document_scanner: Clean up
      
      erp5_document_scanner: Clean up javascript to store cropper settings in preference instead of jIO
      
      erp5_document_scanner: Add Property sheet to store cropped canvas settings
      
      erp5_document_scanner: Add label
      
      erp5_document_scanner: Improve code in order to cancel video streaming
      
      erp5_document_scanner: Split dialog in two steps
      
      erp5_document_scanner: minor changes
      
      erp5_document_scanner: Clear photo to avoid pass it to the next step
      
      erp5_document_scanner: clean up code and add reset button
      
      erp5_document_scanner: Add action to scan document
      
      erp5_document_scanner: Check properly if there is an image to store in Active Process
      
      erp5_document_scanner: Improve labels
      
      erp5_document_scanner: Improve user experience on prototype
      
      erp5_document_scanner: don't force width & weight to cropped images
      
      erp5_document_scanner: Improve stream manipulation
      
      erp5_document_scanner: Improve navigation
      
      Block user to reach step 2 without any image captured
      
      erp5_document_scanner: Merge dialogs to have only one page
      
      erp5_document_scanner: Add new field to selection publication section and remove select
      
      because we will select camera automatically
      
      erp5_document_scanner: clean up
      
      erp5_document_scanner: Fix code that tries to stop stream twice
      
      erp5_document_scanner: Clean up
      
      erp5_document_scanner: improve UI
      
      erp5_document_scanner: Improve gadget following the design defined by Thierry
      
      erp5_document_scanner: Typo
      
      erp5_document_scanner: Small fix to render stream on mobile
      
      erp5_document_scanner: Improve code
      3b3326c5
    • Roque's avatar
      erp5_forge: bug module domain · 40b23070
      Roque authored
      40b23070
    • Roque's avatar
      erp5_crm: new domain in support request list · 93df28d7
      Roque authored
      93df28d7
    • Roque's avatar
      erp5_base: common script to generate domains · b381ef8f
      Roque authored
      b381ef8f
    • Roque's avatar
    • Roque's avatar
      erp5_web_project_ui: initial commit for project.nexedi.net · 86b1843b
      Roque authored
      - new skin folder with project quick view form, scripts and gadgets
      - front page redirects to custom project module
      86b1843b
    • Jérome Perrin's avatar
      patches/pylint: fix regression with namedtuples · 5027502c
      Jérome Perrin authored
      with namedtuples and unicode literals enabled, our patch break with:
      
          Module py2stdlib, line 266, in infer_named_tuple
            ''' % {'name': name, 'fields': attributes})
          Module Products.ERP5Type.patches.pylint, line 74, in string_build
            encoding = _guess_encoding(data)
          Module astroid.builder, line 65, in _guess_encoding
            if string.startswith('\xef\xbb\xbf'):
          UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)
      
      because pylint/astroid uses string_build to evaluate the named tuple and the source code enabled 
      unicode_literals future, string_build is called with an unicode object.
      
          -> for inferred in node.func.infer():
            astroid-1.3.8-py2.7.egg/astroid/bases.py(391)infer()
          -> return self._explicit_inference(self, context, **kwargs)
            astroid-1.3.8-py2.7.egg/astroid/brain/py2stdlib.py(266)infer_named_tuple()
          -> ''' % {'name': name, 'fields': attributes})
          > erp5/product/ERP5Type/patches/pylint.py(77)string_build()
          -> data = data.encode('utf-8')
          (Pdb) up
          > astroid-1.3.8-py2.7.egg/astroid/brain/py2stdlib.py(266)infer_named_tuple()
          -> ''' % {'name': name, 'fields': attributes})
          (Pdb) l
          249     def infer_named_tuple(node, context=None):
          250         """Specific inference function for namedtuple CallFunc node"""
          251         class_node, name, attributes = infer_func_form(node, nodes.Tuple._proxied,
          252                                                        context=context)
          253         fake = AstroidBuilder(MANAGER).string_build('''
          254     class %(name)s(tuple):
          255         _fields = %(fields)r
          256         def _asdict(self):
          257             return self.__dict__
          258         @classmethod
          259         def _make(cls, iterable, new=tuple.__new__, len=len):
          260             return new(cls, iterable)
          261         def _replace(_self, **kwds):
          262             result = _self._make(map(kwds.pop, %(fields)r, _self))
          263             if kwds:
          264                 raise ValueError('Got unexpected field names: %%r' %% list(kwds))
          265             return result
          266  ->     ''' % {'name': name, 'fields': attributes})
          (Pdb) pp name
          u'NamedTuple'
          (Pdb) pp attributes
          [u'foo', u'bar']
          (Pdb) pp [ (arg, arg.value) for arg in node.args ]
          [(<Const(unicode) l.4 [checkPythonSourceCodelXOzr3] at 0x7f9f1caee250>,
            u'NamedTuple'),
           (<Const(unicode) l.4 [checkPythonSourceCodelXOzr3] at 0x7f9f1caeebd0>,
            u'foo bar')]
          
          
      
      /reviewed-on !978
      5027502c
  2. 07 Nov, 2019 7 commits
  3. 06 Nov, 2019 3 commits
  4. 05 Nov, 2019 1 commit
  5. 31 Oct, 2019 6 commits