1. 07 Sep, 2017 2 commits
  2. 09 Jul, 2017 1 commit
  3. 30 Mar, 2017 1 commit
  4. 23 Feb, 2017 2 commits
    • Dan Untenzu's avatar
      [FEATURE] Switch to PSR-2 · 96707e02
      Dan Untenzu authored
      Convert all PHP files to PSR-2, which defined
      a basic Coding Style Guide for PHP projects.
      
      Using the awesome friendsofphp/php-cs-fixer tool,
      running with the @PSR2 ruleset.
      
      1) script.php (no_spaces_after_function_name, braces)
      2) f.php (indentation_type, no_spaces_after_function_name, braces)
      3) install.php (indentation_type, function_declaration, elseif, no_spaces_after_function_name, braces)
      4) lib/functions.php (no_spaces_inside_parenthesis, method_argument_space, function_declaration, elseif, no_spaces_after_function_name, lowercase_constants, lowercase_keywords, braces, single_blank_line_at_eof)
      5) lib/functions.js.php (no_spaces_after_function_name)
      6) lib/lang.php (function_declaration, no_spaces_after_function_name, lowercase_constants, no_closing_tag, braces, single_blank_line_at_eof)
      7) lib/template/footer.php (braces)
      8) lib/config.local.bak.php (method_argument_space, no_spaces_after_function_name, no_closing_tag, single_blank_line_at_eof)
      9) lib/config.original.php (no_spaces_after_function_name, no_closing_tag, single_blank_line_at_eof)
      0) lib/settings.php (indentation_type, no_spaces_after_function_name, braces)
      1) lib/config.local.php (no_spaces_after_function_name, single_blank_line_at_eof)
      2) index.php (indentation_type, no_spaces_after_function_name, braces)
      3) admin.php (no_spaces_after_function_name, braces)
      4) tos.php (no_spaces_after_function_name, no_closing_tag, single_blank_line_at_eof)
      
      Refs #103
      96707e02
    • Dan Untenzu's avatar
      [FEATURE] Replace all domain depended links · bf0a496a
      Dan Untenzu authored
      Replace all occurences of "web_root" (domain depended links)
      with "JIRAFEAU_ABSPREFIX" (absolute links to the root level).
      
      Links like "https://example.com/foo/functions.js" are replaced
      with "/foo/functions.js".
      
      Refs #79
      bf0a496a
  5. 19 Jan, 2017 2 commits
  6. 13 Nov, 2015 1 commit
  7. 16 Jul, 2015 1 commit
  8. 06 Jul, 2015 1 commit
    • Jérôme Jutteau's avatar
      add an alias system to the API. · d98c495a
      Jérôme Jutteau authored
      This alias system permits to create an "alias" to an uploaded file.
      This permits to upload some new content and update the alias to the new
      content.
      
      This will permits to implement a lot of services, for example:
      - Storing a live chat between two people
      - Update a list of files
      - Put a whole website and update it
      
      A few notes:
      
      - An alias MUST point to an existing upload at his creation or update.
      - Alias are not protected against reading but are protected against updates
        and deletion using a password. The destination of the alias can still be
        protected by a password.
      - Alias can be updated to change it's target and/or change the password.
      - Alias names and passwords must be between 8 and 32 characters.
      
      Some examples:
      
      - Create an alias:
      
      curl -X POST \
           --http1.0 \
           -F "alias=my-awsome-alias" \
           -F "destination=13dA8apU" \
           -F "password=my-very-secret-password" \
           http://my-host/jirafeau/script.php?alias_create=1
      => OK
      
      - Get an alias
      
      curl -X POST \
           --http1.0 \
           -F "alias=my-awsome-alias" \
           http://my-host/jirafeau/script.php?alias_get=1
      => 13dA8apU
      
      - Update an alias:
      curl -X POST \
           --http1.0 \
           -F "alias=my-awsome-alias" \
           -F "destination=2Ab6f17o" \
           -F "password=my-new-password" \
           http://my-host/jirafeau/script.php?alias_update=1
      => OK
      
      - Access to alias using the web interface, let's go to:
      http://couak.net/jirafeau-dev/f.php?h=my-awsome-alias
      
      - Delete an alias:
      curl -X POST \
           --http1.0 \
           -F "alias=my-awsome-alias" \
           -F "password=my-new-password" \
           http://my-host/jirafeau/script.php?alias_delete=1
      => OK
      Signed-off-by: Jérôme Jutteau's avatarJerome Jutteau <mojo@couak.net>
      d98c495a
  9. 19 May, 2015 1 commit
  10. 07 May, 2015 1 commit
  11. 07 Apr, 2015 1 commit
    • Jérôme Jutteau's avatar
      remove option which shows download page · 90462b6a
      Jérôme Jutteau authored
      This commit make Jirafeau to always have the download page link available.
      This option is maybe not really usefull anymore as the user already have a
      download link and a preview link after the upload.
      90462b6a
  12. 06 Apr, 2015 1 commit
  13. 26 Mar, 2015 1 commit
  14. 23 Mar, 2015 3 commits
  15. 22 Mar, 2015 1 commit
  16. 15 Mar, 2015 1 commit
  17. 10 Mar, 2015 3 commits
  18. 22 Feb, 2015 1 commit
  19. 01 Aug, 2013 1 commit
  20. 29 Jul, 2013 3 commits
  21. 26 Jul, 2013 1 commit
  22. 25 Jul, 2013 1 commit
    • Jerome Jutteau's avatar
      Add encryption feature (disabled by default). · 0a5462c3
      Jerome Jutteau authored
      Notes:
      - This feature requieres mcrypt module to be installed.
      - File dedupliation will stop working (as files are encrypted).
      - Server's ressource usage is heavier (encryption/decryption cost).
      0a5462c3
  23. 14 Feb, 2013 1 commit
  24. 12 Feb, 2013 1 commit
  25. 06 Feb, 2013 1 commit
  26. 10 Jan, 2013 1 commit
  27. 09 Jan, 2013 1 commit
  28. 03 Jan, 2013 1 commit
  29. 02 Jan, 2013 2 commits
  30. 01 Jan, 2013 1 commit