@ -1,30 +0,0 @@ | |||
logLevel = "WARN" | |||
defaultEntryPoints = ["http", "https"] | |||
# Connection to docker host system (docker.sock) | |||
[docker] | |||
endpoint = "unix:///var/run/docker.sock" | |||
domain = "digitalcourage.de" | |||
watch = true | |||
# This will hide all docker containers that don't have explicitly | |||
# set label to "enable" | |||
exposedbydefault = false | |||
# Force HTTPS | |||
[entryPoints] | |||
[entryPoints.http] | |||
address = ":80" | |||
[entryPoints.http.redirect] | |||
entryPoint = "https" | |||
[entryPoints.https] | |||
address = ":443" | |||
[entryPoints.https.tls] | |||
# Let's encrypt configuration | |||
[acme] | |||
email = "operating@digitalcourage.de" | |||
storage="acme.json" | |||
entryPoint="https" | |||
OnHostRule = true | |||
[acme.httpChallenge] | |||
entryPoint = "http" | |||
@ -1,179 +0,0 @@ | |||
<config> | |||
<!-- Note: 'default' attributes are used to document a setting's default value as well as to use as fallback. --> | |||
<!-- Note: When adding a new entry, a default must be set in WSD in case the entry is missing upon deployment. --> | |||
<allowed_languages desc="List of supported languages of Writing Aids (spell checker, grammar checker, thesaurus, hyphenation) on this instance. Allowing too many has negative effect on startup performance." default="de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru">de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru</allowed_languages> | |||
<sys_template_path desc="Path to a template tree with shared libraries etc to be used as source for chroot jails for child processes." type="path" relative="true" default="systemplate"></sys_template_path> | |||
<child_root_path desc="Path to the directory under which the chroot jails for the child processes will be created. Should be on the same file system as systemplate and lotemplate. Must be an empty directory." type="path" relative="true" default="jails"></child_root_path> | |||
<mount_jail_tree desc="Controls whether the systemplate and lotemplate contents are mounted or not, which is much faster than the default of linking/copying each file." type="bool" default="true"></mount_jail_tree> | |||
<server_name desc="External hostname:port of the server running loolwsd. If empty, it's derived from the request (please set it if this doesn't work). Must be specified when behind a reverse-proxy or when the hostname is not reachable directly." type="string" default=""></server_name> | |||
<file_server_root_path desc="Path to the directory that should be considered root for the file server. This should be the directory containing loleaflet." type="path" relative="true" default="loleaflet/../"></file_server_root_path> | |||
<memproportion desc="The maximum percentage of system memory consumed by all of the Collabora Online Development Edition, after which we start cleaning up idle documents" type="double" default="80.0"></memproportion> | |||
<num_prespawn_children desc="Number of child processes to keep started in advance and waiting for new clients." type="uint" default="1">1</num_prespawn_children> | |||
<per_document desc="Document-specific settings, including LO Core settings."> | |||
<max_concurrency desc="The maximum number of threads to use while processing a document." type="uint" default="4">4</max_concurrency> | |||
<batch_priority desc="A (lower) priority for use by batch eg. convert-to processes to avoid starving interactive ones" type="uint" default="5">5</batch_priority> | |||
<document_signing_url desc="The endpoint URL of signing server, if empty the document signing is disabled" type="string" default="https://app.vereign.com">https://app.vereign.com</document_signing_url> | |||
<redlining_as_comments desc="If true show red-lines as comments" type="bool" default="false">false</redlining_as_comments> | |||
<idle_timeout_secs desc="The maximum number of seconds before unloading an idle document. Defaults to 1 hour." type="uint" default="3600">3600</idle_timeout_secs> | |||
<!-- Idle save and auto save are checked every 30 seconds --> | |||
<!-- They are disabled when the value is zero or negative. --> | |||
<idlesave_duration_secs desc="The number of idle seconds after which document, if modified, should be saved. Defaults to 30 seconds." type="int" default="30">30</idlesave_duration_secs> | |||
<autosave_duration_secs desc="The number of seconds after which document, if modified, should be saved. Defaults to 5 minutes." type="int" default="300">300</autosave_duration_secs> | |||
<always_save_on_exit desc="On exiting the last editor, always perform the save, even if the document is not modified." type="bool" default="false">false</always_save_on_exit> | |||
<limit_virt_mem_mb desc="The maximum virtual memory allowed to each document process. 0 for unlimited." type="uint">0</limit_virt_mem_mb> | |||
<limit_stack_mem_kb desc="The maximum stack size allowed to each document process. 0 for unlimited." type="uint">8000</limit_stack_mem_kb> | |||
<limit_file_size_mb desc="The maximum file size allowed to each document process to write. 0 for unlimited." type="uint">0</limit_file_size_mb> | |||
<limit_num_open_files desc="The maximum number of files allowed to each document process to open. 0 for unlimited." type="uint">0</limit_num_open_files> | |||
<limit_load_secs desc="Maximum number of seconds to wait for a document load to succeed. 0 for unlimited." type="uint" default="100">100</limit_load_secs> | |||
<limit_convert_secs desc="Maximum number of seconds to wait for a document conversion to succeed. 0 for unlimited." type="uint" default="100">100</limit_convert_secs> | |||
<cleanup desc="Checks for resource consuming (bad) documents and kills associated kit process. A document is considered resource consuming (bad) if is in idle state for idle_time_secs period and memory usage passed limit_dirty_mem_mb or CPU usage passed limit_cpu_per" enable="false"> | |||
<cleanup_interval_ms desc="Interval between two checks" type="uint" default="10000">10000</cleanup_interval_ms> | |||
<bad_behavior_period_secs desc="Minimum time period for a document to be in bad state before associated kit process is killed. If in this period the condition for bad document is not met once then this period is reset" type="uint" default="60">60</bad_behavior_period_secs> | |||
<idle_time_secs desc="Minimum idle time for a document to be candidate for bad state" type="uint" default="300">300</idle_time_secs> | |||
<limit_dirty_mem_mb desc="Minimum memory usage for a document to be candidate for bad state" type="uint" default="3072">3072</limit_dirty_mem_mb> | |||
<limit_cpu_per desc="Minimum CPU usage for a document to be candidate for bad state" type="uint" default="85">85</limit_cpu_per> | |||
</cleanup> | |||
</per_document> | |||
<per_view desc="View-specific settings."> | |||
<out_of_focus_timeout_secs desc="The maximum number of seconds before dimming and stopping updates when the browser tab is no longer in focus. Defaults to 120 seconds." type="uint" default="120">120</out_of_focus_timeout_secs> | |||
<idle_timeout_secs desc="The maximum number of seconds before dimming and stopping updates when the user is no longer active (even if the browser is in focus). Defaults to 15 minutes." type="uint" default="900">900</idle_timeout_secs> | |||
</per_view> | |||
<loleaflet_html desc="Allows UI customization by replacing the single endpoint of loleaflet.html" type="string" default="loleaflet.html">loleaflet.html</loleaflet_html> | |||
<logging> | |||
<color type="bool">true</color> | |||
<level type="string" desc="Can be 0-8, or none (turns off logging), fatal, critical, error, warning, notice, information, debug, trace" default="warning">warning</level> | |||
<protocol type="bool" desc="Enable minimal client-site JS protocol logging from the start">false</protocol> | |||
<file enable="false"> | |||
<!-- If you use other path than /var/log and you run loolwsd from systemd, make sure that you enable that path in loolwsd.service (ReadWritePaths). --> | |||
<property name="path" desc="Log file path.">/var/log/loolwsd.log</property> | |||
<property name="rotation" desc="Log file rotation strategy. See Poco FileChannel.">never</property> | |||
<property name="archive" desc="Append either timestamp or number to the archived log filename.">timestamp</property> | |||
<property name="compress" desc="Enable/disable log file compression.">true</property> | |||
<property name="purgeAge" desc="The maximum age of log files to preserve. See Poco FileChannel.">10 days</property> | |||
<property name="purgeCount" desc="The maximum number of log archives to preserve. Use 'none' to disable purging. See Poco FileChannel.">10</property> | |||
<property name="rotateOnOpen" desc="Enable/disable log file rotation on opening.">true</property> | |||
<property name="flush" desc="Enable/disable flushing after logging each line. May harm performance. Note that without flushing after each line, the log lines from the different processes will not appear in chronological order.">false</property> | |||
</file> | |||
<anonymize> | |||
<anonymize_user_data type="bool" desc="Enable to anonymize/obfuscate of user-data in logs. If default is true, it was forced at compile-time and cannot be disabled." default="false">false</anonymize_user_data> | |||
<anonymization_salt type="uint" desc="The salt used to anonymize/obfuscate user-data in logs. Use a secret 64-bit random number." default="82589933">82589933</anonymization_salt> | |||
</anonymize> | |||
</logging> | |||
<loleaflet_logging desc="Logging in the browser console" default="false">false</loleaflet_logging> | |||
<trace desc="Dump commands and notifications for replay. When 'snapshot' is true, the source file is copied to the path first." enable="false"> | |||
<path desc="Output path to hold trace file and docs. Use '%' for timestamp to avoid overwriting. For example: /some/path/to/looltrace-%.gz" compress="true" snapshot="false"></path> | |||
<filter> | |||
<message desc="Regex pattern of messages to exclude"></message> | |||
</filter> | |||
<outgoing> | |||
<record desc="Whether or not to record outgoing messages" default="false">false</record> | |||
</outgoing> | |||
</trace> | |||
<net desc="Network settings"> | |||
<!-- On systems where localhost resolves to IPv6 [::1] address first, when net.proto is all and net.listen is loopback, loolwsd unexpectedly listens on [::1] only. | |||
You need to change net.proto to IPv4, if you want to use 127.0.0.1. --> | |||
<proto type="string" default="all" desc="Protocol to use IPv4, IPv6 or all for both">all</proto> | |||
<listen type="string" default="any" desc="Listen address that loolwsd binds to. Can be 'any' or 'loopback'.">any</listen> | |||
<service_root type="path" default="" desc="Prefix all the pages, websockets, etc. with this path."></service_root> | |||
<proxy_prefix type="bool" default="false" desc="Enable a ProxyPrefix to be passed int through which to redirect requests"></proxy_prefix> | |||
<post_allow desc="Allow/deny client IP address for POST(REST)." allow="true"> | |||
<host desc="The IPv4 private 192.168 block as plain IPv4 dotted decimal addresses.">192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host> | |||
<host desc="Ditto, but as IPv4-mapped IPv6 addresses">::ffff:192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host> | |||
<host desc="The IPv4 loopback (localhost) address.">127\.0\.0\.1</host> | |||
<host desc="Ditto, but as IPv4-mapped IPv6 address">::ffff:127\.0\.0\.1</host> | |||
<host desc="The IPv6 loopback (localhost) address.">::1</host> | |||
<host desc="The IPv4 private 172.17.0.0/16 subnet (Docker).">172\.17\.[0-9]{1,3}\.[0-9]{1,3}</host> | |||
<host desc="Ditto, but as IPv4-mapped IPv6 addresses">::ffff:172\.17\.[0-9]{1,3}\.[0-9]{1,3}</host> | |||
</post_allow> | |||
<frame_ancestors desc="Specify who is allowed to embed the LO Online iframe (loolwsd and WOPI host are always allowed). Separate multiple hosts by space."></frame_ancestors> | |||
<connection_timeout_secs desc="Specifies the connection, send, recv timeout in seconds for connections initiated by loolwsd (such as WOPI connections)." type="int" default="30"></connection_timeout_secs> | |||
</net> | |||
<ssl desc="SSL settings"> | |||
<enable type="bool" desc="Controls whether SSL encryption between browser and loolwsd is enabled (do not disable for production deployment). If default is false, must first be compiled with SSL support to enable." default="true">false</enable> | |||
<termination desc="Connection via proxy where loolwsd acts as working via https, but actually uses http." type="bool" default="true">true</termination> | |||
<cert_file_path desc="Path to the cert file" relative="false">/etc/loolwsd/cert.pem</cert_file_path> | |||
<key_file_path desc="Path to the key file" relative="false">/etc/loolwsd/key.pem</key_file_path> | |||
<ca_file_path desc="Path to the ca file" relative="false">/etc/loolwsd/ca-chain.cert.pem</ca_file_path> | |||
<cipher_list desc="List of OpenSSL ciphers to accept" default="ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH"></cipher_list> | |||
<hpkp desc="Enable HTTP Public key pinning" enable="false" report_only="false"> | |||
<max_age desc="HPKP's max-age directive - time in seconds browser should remember the pins" enable="true">1000</max_age> | |||
<report_uri desc="HPKP's report-uri directive - pin validation failure are reported at this URL" enable="false"></report_uri> | |||
<pins desc="Base64 encoded SPKI fingerprints of keys to be pinned"> | |||
<pin></pin> | |||
</pins> | |||
</hpkp> | |||
</ssl> | |||
<security desc="Altering these defaults potentially opens you to significant risk"> | |||
<seccomp desc="Should we use the seccomp system call filtering." type="bool" default="true">true</seccomp> | |||
<capabilities desc="Should we require capabilities to isolate processes into chroot jails" type="bool" default="true">true</capabilities> | |||
</security> | |||
<watermark> | |||
<opacity desc="Opacity of on-screen watermark from 0.0 to 1.0" type="double" default="0.2"></opacity> | |||
<text desc="Watermark text to be displayed on the document if entered" type="string"></text> | |||
</watermark> | |||
<welcome> | |||
<enable type="bool" desc="Controls whether the welcome screen should be shown to the users on new install and updates." default="false">false</enable> | |||
<enable_button type="bool" desc="Controls whether the welcome screen should have an explanatory button instead of an X button to close the dialog." default="false">false</enable_button> | |||
<path desc="Path to 'welcome-$lang.html' files served on first start or when the version changes. When empty, defaults to the Release notes." type="path" relative="true" default="loleaflet/welcome"></path> | |||
</welcome> | |||
<user_interface> | |||
<mode type="string" desc="Controls the user interface style (classic|notebookbar)" default="notebookbar">notebookbar</mode> | |||
</user_interface> | |||
<storage desc="Backend storage"> | |||
<filesystem allow="false" /> | |||
<wopi desc="Allow/deny wopi storage." allow="true"> | |||
<host desc="Regex pattern of hostname to allow or deny." allow="true">cloud-forms\.digitalcourage\.de</host> | |||
<host desc="Regex pattern of hostname to allow or deny." allow="true">10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}</host> | |||
<host desc="Regex pattern of hostname to allow or deny." allow="true">172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}</host> | |||
<host desc="Regex pattern of hostname to allow or deny." allow="true">172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}</host> | |||
<host desc="Regex pattern of hostname to allow or deny." allow="true">172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}</host> | |||
<host desc="Regex pattern of hostname to allow or deny." allow="true">192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host> | |||
<host desc="Regex pattern of hostname to allow or deny." allow="false">192\.168\.1\.1</host> | |||
<max_file_size desc="Maximum document size in bytes to load. 0 for unlimited." type="uint">0</max_file_size> | |||
<reuse_cookies desc="When enabled, cookies from the browser will be captured and set on WOPI requests." type="bool" default="false">false</reuse_cookies> | |||
<locking desc="Locking settings"> | |||
<refresh desc="How frequently we should re-acquire a lock with the storage server, in seconds (default 15 mins) or 0 for no refresh" type="int" default="900">900</refresh> | |||
</locking> | |||
</wopi> | |||
<webdav desc="Allow/deny webdav storage. Mutually exclusive with wopi." allow="false"> | |||
<host desc="Hostname to allow" allow="true">cloud-forms.digitalcourage.de</host> | |||
</webdav> | |||
<ssl desc="SSL settings"> | |||
<enable type="bool" desc="If as_scheme is false or not set, this can be set to force SSL encryption between storage and loolwsd. When empty this defaults to following the ssl.enable setting"></enable> | |||
<cert_file_path desc="Path to the cert file" relative="false"></cert_file_path> | |||
<key_file_path desc="Path to the key file" relative="false"></key_file_path> | |||
<ca_file_path desc="Path to the ca file. If this is not empty, then SSL verification will be strict, otherwise cert of storage (WOPI-like host) will not be verified." relative="false"></ca_file_path> | |||
<cipher_list desc="List of OpenSSL ciphers to accept. If empty the defaults are used. These can be overridden only if absolutely needed."></cipher_list> | |||
</ssl> | |||
</storage> | |||
<tile_cache_persistent desc="Should the tiles persist between two editing sessions of the given document?" type="bool" default="true">true</tile_cache_persistent> | |||
<admin_console desc="Web admin console settings."> | |||
<enable desc="Enable the admin console functionality" type="bool" default="true">true</enable> | |||
<enable_pam desc="Enable admin user authentication with PAM" type="bool" default="false">false</enable_pam> | |||
<username desc="The username of the admin console. Ignored if PAM is enabled.">admin</username> | |||
<password desc="The password of the admin console. Deprecated on most platforms. Instead, use PAM or loolconfig to set up a secure password.">Mt5q7XeepHWGZrsOS7GrWLWv2h6jKirF</password> | |||
</admin_console> | |||
<monitors desc="Addresses of servers we connect to on start for monitoring"> | |||
</monitors> | |||
</config> |
@ -1,422 +0,0 @@ | |||
Nextcloud is written by: | |||
- AW-UC <git@a-wesemann.de> | |||
- Aaron Wood <aaronjwood@gmail.com> | |||
- Abijeet <abijeetpatro@gmail.com> | |||
- Achim Königs <garfonso@tratschtante.de> | |||
- Adam Williamson <awilliam@redhat.com> | |||
- Administrator "Administrator@WINDOWS-2012" | |||
- Adrian Brzezinski <adrian.brzezinski@eo.pl> | |||
- Aldo "xoen" Giambelluca <xoen@xoen.org> | |||
- Alecks Gates <alecks.g@gmail.com> | |||
- Alejandro Varela <epma01@gmail.com> | |||
- Alex Weirig <alex.weirig@technolink.lu> | |||
- Alexander A. Klimov <grandmaster@al2klimov.de> | |||
- Alexander Bergolth <leo@strike.wu.ac.at> | |||
- Alexey Pyltsyn <lex61rus@gmail.com> | |||
- Allan Nordhøy <epost@anotheragency.no> | |||
- Andreas Fischer <bantu@owncloud.com> | |||
- Andreas Pflug <dev@admin4.org> | |||
- Andrew Brown <andrew@casabrown.com> | |||
- André Gaul <gaul@web-yard.de> | |||
- Ardinis <Ardinis@users.noreply.github.com> | |||
- Ari Selseng <ari@selseng.net> | |||
- Arne Hamann <kontakt+github@arne.email> | |||
- Artem Kochnev <MrJeos@gmail.com> | |||
- Artem Sidorenko <artem@posteo.de> | |||
- Arthur Schiwon <blizzz@arthur-schiwon.de> | |||
- Axel Helmert <axel.helmert@luka.de> | |||
- Bart Visscher <bartv@thisnet.nl> | |||
- Bartek Przybylski <bart.p.pl@gmail.com> | |||
- Bastien Durel <bastien@durel.org> | |||
- Bastien Ho <bastienho@urbancube.fr> | |||
- Benjamin Diele <benjamin@diele.be> | |||
- Benjamin Liles <benliles@arch.tamu.edu> | |||
- Bernhard Ostertag <bernieo.code@gmx.de> | |||
- Bernhard Posselt <dev@bernhard-posselt.com> | |||
- Bernhard Reiter <ockham@raz.or.at> | |||
- Birk Borkason <daniel.niccoli@gmail.com> | |||
- Bjoern Schiessle <bjoern@schiessle.org> | |||
- Björn Schießle <bjoern@schiessle.org> | |||
- Blaok <i@blaok.me> | |||
- Boris Rybalkin <ribalkin@gmail.com> | |||
- Borjan Tchakaloff <borjan@tchakaloff.fr> | |||
- Brad Rubenstein <brad@wbr.tech> | |||
- Brandon Kirsch <brandonkirsch@github.com> | |||
- Branko Kokanovic <branko@kokanovic.org> | |||
- Brice Maron <brice@bmaron.net> | |||
- Byron Marohn <combustible@live.com> | |||
- Carla Schroder <carla@owncloud.com> | |||
- Carlos Cerrillo <ccerrillo@gmail.com> | |||
- Carsten Wiedmann <carsten_sttgt@gmx.de> | |||
- Christian <16852529+cviereck@users.noreply.github.com> | |||
- Christian Berendt <berendt@b1-systems.de> | |||
- Christian Jürges <christian@eqipe.ch> | |||
- Christian Kampka <christian@kampka.net> | |||
- Christian Oliff <christianoliff@yahoo.com> | |||
- Christoph Schaefer "christophł@wolkesicher.de" | |||
- Christoph Seitz <christoph.seitz@posteo.de> | |||
- Christoph Wickert <cwickert@suse.de> | |||
- Christoph Wurst <christoph@winzerhof-wurst.at> | |||
- Christopher Bartz <bartz@dkrz.de> | |||
- Christopher Schäpers <kondou@ts.unde.re> | |||
- Christopher T. Johnson <ctjctj@gmail.com> | |||
- Clark Tomlinson <fallen013@gmail.com> | |||
- Clement Wong <git@clement.hk> | |||
- Cornelius Kölbel <cornelius.koelbel@netknights.it> | |||
- Cthulhux <git@tuxproject.de> | |||
- Damjan Georgievski <gdamjan@gmail.com> | |||
- Dan Callahan <dan.callahan@gmail.com> | |||
- Daniel Calviño Sánchez <danxuliu@gmail.com> | |||
- Daniel Hansson <daniel@techandme.se> | |||
- Daniel Jagszent <daniel@jagszent.de> | |||
- Daniel Kesselberg <mail@danielkesselberg.de> | |||
- Daniel Rudolf <github.com@daniel-rudolf.de> | |||
- Daniel Schneider <daniel@schneidoa.de> | |||
- Dariusz Olszewski <starypatyk@users.noreply.github.com> | |||
- David Prévot <taffit@debian.org> | |||
- David Toledo <dtoledo@solidgear.es> | |||
- Denis Mosolov <denismosolov@gmail.com> | |||
- Derek <derek.kelly27@gmail.com> | |||
- Dominik Schmidt <dev@dominik-schmidt.de> | |||
- Donquixote <marjunebatac@gmail.com> | |||
- Elijah Martin-Merrill <elijah@nyp-itsours.com> | |||
- Eric Masseran <rico.masseran@gmail.com> | |||
- Estelle Poulin <dev@inspiredby.es> | |||
- Evgeny Golyshev <eugulixes@gmail.com> | |||
- Fabrizio Steiner <fabrizio.steiner@gmail.com> | |||
- Felix Epp <work@felixepp.de> | |||
- Felix Heidecke <felix@heidecke.me> | |||
- Felix Moeller <mail@felixmoeller.de> | |||
- Felix Nieuwenhuizen <felix@tdlrali.com> | |||
- Felix Nüsse <Felix.nuesse@t-online.de> | |||
- Felix Rupp <github@felixrupp.com> | |||
- Filis Futsarov <filisko@users.noreply.github.com> | |||
- Florent <florent@coppint.com> | |||
- Florin Peter <github@florin-peter.de> | |||
- Flávio Gomes da Silva Lisboa <flavio.lisboa@serpro.gov.br> | |||
- Frank Isemann <frank@isemann.name> | |||
- Frank Karlitschek <frank@karlitschek.de> | |||
- François Kubler <francois@kubler.org> | |||
- Frederic Werner <frederic-github@werner-net.work> | |||
- Frédéric Fortier <frederic.fortier@oronospolytechnique.com> | |||
- Gary Kim <gary@garykim.dev> | |||
- Georg Ehrke <oc.list@georgehrke.com> | |||
- GrayFix <grayfix@gmail.com> | |||
- Greta Doci <gretadoci@gmail.com> | |||
- GretaD <gretadoci@gmail.com> | |||
- Guillaume COMPAGNON <gcompagnon@outlook.com> | |||
- Hemanth Kumar Veeranki <hems.india1997@gmail.com> | |||
- Hendrik Leppelsack <hendrik@leppelsack.de> | |||
- Holger Hees <holger.hees@gmail.com> | |||
- Ilja Neumann <ineumann@owncloud.com> | |||
- Individual IT Services <info@individual-it.net> | |||
- J0WI <J0WI@users.noreply.github.com> | |||
- Jaakko Salo <jaakkos@gmail.com> | |||
- Jacob Neplokh <me@jacobneplokh.com> | |||
- Jakob Sack <mail@jakobsack.de> | |||
- Jakub Onderka <ahoj@jakubonderka.cz> | |||
- Jan C. Borchardt <hey@jancborchardt.net> | |||
- Jan-Christoph Borchardt <hey@jancborchardt.net> | |||
- Jan-Philipp Litza <jplitza@users.noreply.github.com> | |||
- Janis Köhr <janis.koehr@novatec-gmbh.de> | |||
- Jared Boone <jared.boone@gmail.com> | |||
- Jarkko Lehtoranta <devel@jlranta.com> | |||
- Jean-Louis Dupond <jean-louis@dupond.be> | |||
- Jens-Christian Fischer <jens-christian.fischer@switch.ch> | |||
- Jesús Macias <jmacias@solidgear.es> | |||
- Joachim Bauch <bauch@struktur.de> | |||
- Joachim Sokolowski <github@sokolowski.org> | |||
- Joas Schilling <coding@schilljs.com> | |||
- Joel S <joel.devbox@protonmail.com> | |||
- Johan Björk <johanimon@gmail.com> | |||
- Johannes Ernst <jernst@indiecomputing.com> | |||
- Johannes Riedel <joeried@users.noreply.github.com> | |||
- Johannes Schlichenmaier <johannes@schlichenmaier.info> | |||
- Johannes Willnecker <johannes@willnecker.com> | |||
- John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | |||
- Jonas Sulzer <jonas@violoncello.ch> | |||
- Jonny007-MKD <1-23-4-5@web.de> | |||
- Jos Poortvliet <jos@opensuse.org> | |||
- Jose Quinteiro <github@quinteiro.org> | |||
- Juan Pablo Villafañez <jvillafanez@solidgear.es> | |||
- Juan Pablo Villafáñez <jvillafanez@solidgear.es> | |||
- Julien Lutran <julien.lutran@corp.ovh.com> | |||
- Julien Veyssier <eneiluj@posteo.net> | |||
- Julius Haertl <jus@bitgrid.net> | |||
- Julius Härtl <jus@bitgrid.net> | |||
- Jörn Friedrich Dreyer <jfd@butonic.de> | |||
- KB7777 <k.burkowski@gmail.com> | |||
- Kamil Domanski <kdomanski@kdemail.net> | |||
- Kawohl <john@owncloud.com> | |||
- Kenneth Newwood <kenneth@newwood.name> | |||
- Kevin Lanni <therealklanni@gmail.com> | |||
- Kevin Ndung'u <kevgathuku@gmail.com> | |||
- Kim Brose <kim.brose@rwth-aachen.de> | |||
- Klaas Freitag <freitag@owncloud.com> | |||
- Knut Ahlers <knut@ahlers.me> | |||
- Ko- <k.stoffelen@cs.ru.nl> | |||
- Konrad Bucheli <kb@open.ch> | |||
- Kristof Provost <github@sigsegv.be> | |||
- Kyle Fazzari <kyrofa@ubuntu.com> | |||
- Lars <winnetou+github@catolic.de> | |||
- Lars Knickrehm <mail@lars-sh.de> | |||
- Laurens Post <Crote@users.noreply.github.com> | |||
- Laurens Post <lkpost@scept.re> | |||
- Lauris Binde <laurisb@users.noreply.github.com> | |||
- Lennart Rosam <hello@takuto.de> | |||
- Lennart Rosam <lennart.rosam@medien-systempartner.de> | |||
- Leon Klingele <git@leonklingele.de> | |||
- Leon Klingele <leon@struktur.de> | |||
- Liam Dennehy <liam@wiemax.net> | |||
- Liam JACK <liamjack@users.noreply.github.com> | |||
- Lionel Elie Mamane <lionel@mamane.lu> | |||
- Loki3000 <github@labcms.ru> | |||
- Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it> | |||
- Lukas Reschke <lukas@statuscode.ch> | |||
- Lukas Stabe <lukas@stabe.de> | |||
- Luke Policinski <lpolicinski@gmail.com> | |||
- Magnus Walbeck <mw@mwalbeck.org> | |||
- Marcel Klehr <mklehr@gmx.net> | |||
- Marcel Waldvogel <marcel.waldvogel@uni-konstanz.de> | |||
- Marin Treselj <marin@pixelipo.com> | |||
- Mario Danic <mario@lovelyhq.com> | |||
- Mario Kolling <mario.kolling@serpro.gov.br> | |||
- Marius Blüm <marius@lineone.io> | |||
- Marius David Wieschollek <git.public@mdns.eu> | |||
- Markus Goetz <markus@woboq.com> | |||
- Markus Staab <markus.staab@redaxo.de> | |||
- MartB <mart.b@outlook.de> | |||
- Martin <github@diemattels.at> | |||
- Martin Konrad <info@martin-konrad.net> | |||
- Martin Konrad <konrad@frib.msu.edu> | |||
- Martin Mattel <martin.mattel@diemattels.at> | |||
- Marvin Thomas Rabe <mrabe@marvinrabe.de> | |||
- Masaki Kawabata Neto <masaki.kawabata@gmail.com> | |||
- MasterOfDeath <rinat.gumirov@mail.ru> | |||
- Matthew Setter <matthew@matthewsetter.com> | |||
- Max Kovalenko <mxss1998@yandex.ru> | |||
- Maxence Lange <maxence@artificial-owl.com> | |||
- Maxence Lange <maxence@nextcloud.com> | |||
- Maxence Lange <maxence@pontapreta.net> | |||
- MichaIng <28480705+MichaIng@users.noreply.github.com> | |||
- MichaIng <micha@dietpi.com> | |||
- Michael Gapczynski <GapczynskiM@gmail.com> | |||
- Michael Göhler <somebody.here@gmx.de> | |||
- Michael Jobst <mjobst+github@tecratech.de> | |||
- Michael Kuhn <michael@ikkoku.de> | |||
- Michael Letzgus <www@chronos.michael-letzgus.de> | |||
- Michael Roitzsch <reactorcontrol@icloud.com> | |||
- Michael Roth <michael.roth@rz.uni-augsburg.de> | |||
- Michael Weimann <mail@michael-weimann.eu> | |||
- Michael Zamot <michael@zamot.io> | |||
- Michał Węgrzynek <michal.wegrzynek@malloc.com.pl> | |||
- Miguel Prokop <miguel.prokop@vtu.com> | |||
- Mikael Hammarin <mikael@try2.se> | |||
- Mitar <mitar.git@tnode.com> | |||
- Mohammed Abdellatif <m.latief@gmail.com> | |||
- Morris Jobke <hey@morrisjobke.de> | |||
- Nicolai Ehemann <en@enlightened.de> | |||
- Nicolas Grekas <nicolas.grekas@gmail.com> | |||
- Nils <git@to.nilsschnabel.de> | |||
- Nils Wittenbrink <nilswittenbrink@web.de> | |||
- Nmz <nemesiz@nmz.lt> | |||
- Noveen Sachdeva <noveen.sachdeva@research.iiit.ac.in> | |||
- Ole Ostergaard <ole.c.ostergaard@gmail.com> | |||
- Ole Ostergaard <ole.ostergaard@knime.com> | |||
- Oliver Gasser <oliver.gasser@gmail.com> | |||
- Oliver Kohl D.Sc. <oliver@kohl.bz> | |||
- Oliver Salzburg <oliver.salzburg@gmail.com> | |||
- Oliver Wegner <void1976@gmail.com> | |||
- Olivier Paroz <github@oparoz.com> | |||
- Owen Winkler <a_github@midnightcircus.com> | |||
- Pascal de Bruijn <pmjdebruijn@pcode.nl> | |||
- Patrick Paysant <patrick.paysant@linagora.com> | |||
- Patrik Kernstock <info@pkern.at> | |||
- Pauli Järvinen <pauli.jarvinen@gmail.com> | |||
- Pavel Krasikov <klonishe@gmail.com> | |||
- Pellaeon Lin <nfsmwlin@gmail.com> | |||
- Peter Kubica <peter@kubica.ch> | |||
- Phil Davis <phil.davis@inf.org> | |||
- Philipp Kapfer <philipp.kapfer@gmx.at> | |||
- Philipp Schaffrath <github@philipp.schaffrath.email> | |||
- Philipp Staiger <philipp@staiger.it> | |||
- Philippe Jung <phil.jung@free.fr> | |||
- Pierre Ozoux <pierre@ozoux.net> | |||
- Pierre Rudloff <contact@rudloff.pro> | |||
- Piotr Filiciak <piotr@filiciak.pl> | |||
- Piotr M <mrow4a@yahoo.com> | |||
- Piotr Mrowczynski <mrow4a@yahoo.com> | |||
- Piotr Mrówczyński <mrow4a@yahoo.com> | |||
- Qingping Hou <dave2008713@gmail.com> | |||
- Ralph Krimmel <rkrimme1@gwdg.de> | |||
- Ramiro Aparicio <rapariciog@gmail.com> | |||
- Randolph Carter <RandolphCarter@fantasymail.de> | |||
- Rayn0r <andrew@ilpss8.myfirewall.org> | |||
- RealRancor <Fisch.666@gmx.de> | |||
- RealRancor <fisch.666@gmx.de> | |||
- Rello <Rello@users.noreply.github.com> | |||
- Remco Brenninkmeijer <requist1@starmail.nl> | |||
- Rinat Gumirov <rinat.gumirov@mail.ru> | |||
- Robert Dailey <rcdailey@gmail.com> | |||
- Robin Appelman <robin@icewind.nl> | |||
- Robin McCorkell <robin@mccorkell.me.uk> | |||
- Robin Müller <coder-hugo@users.noreply.github.com> | |||
- Roeland Jago Douma <roeland@famdouma.nl> | |||
- Roger Szabo <roger.szabo@web.de> | |||
- Roland Tapken <roland@bitarbeiter.net> | |||
- Romain Rivière <lecoyote@lecoyote.org> | |||
- Roman Kreisel <mail@romankreisel.de> | |||
- Ross Nicoll <jrn@jrn.me.uk> | |||
- Ruben Homs <ruben@homs.codes> | |||
- RussellAult <RussellAult@users.noreply.github.com> | |||
- Rémy Jacquin <remy@remyj.fr> | |||
- S. Cat <33800996+sparrowjack63@users.noreply.github.com> | |||
- SA <stephen@mthosting.net> | |||
- Sam Bull <aa6bs0@sambull.org> | |||
- Sam Tuke <mail@samtuke.com> | |||
- Samuel CHEMLA <chemla.samuel@gmail.com> | |||
- Sander Ruitenbeek <s.ruitenbeek@getgoing.nl> | |||
- Sander Ruitenbeek <sander@grids.be> | |||
- Sandro Lutz <sandro.lutz@temparus.ch> | |||
- Sascha Sambale <mastixmc@gmail.com> | |||
- Sascha Wiswedel <sascha.wiswedel@nextcloud.com> | |||
- Scott Dutton <exussum12@users.noreply.github.com> | |||
- Scott Dutton <scott@exussum.co.uk> | |||
- Scott Shambarger <devel@shambarger.net> | |||
- Sean Comeau <sean@ftlnetworks.ca> | |||
- Sebastian Döll <sebastian.doell@libasys.de> | |||
- Sebastian Steinmetz <462714+steiny2k@users.noreply.github.com> | |||
- Sebastian Steinmetz <me@sebastiansteinmetz.ch> | |||
- Sebastian Wessalowski <sebastian@wessalowski.org> | |||
- Semih Serhat Karakaya <karakayasemi@itu.edu.tr> | |||
- Senorsen <senorsen.zhang@gmail.com> | |||
- Serge Martin <edb@sigluy.net> | |||
- Sergej Nikolaev <kinolaev@gmail.com> | |||
- Sergej Pupykin <pupykin.s@gmail.com> | |||
- Sergey Shliakhov <husband.sergey@gmail.com> | |||
- Sergio Bertolin <sbertolin@solidgear.es> | |||
- Sergio Bertolín <sbertolin@solidgear.es> | |||
- Simon Könnecke <simonkoennecke@gmail.com> | |||
- Simon Spannagel <simonspa@kth.se> | |||
- Simounet <contact@simounet.net> | |||
- Sjors van der Pluijm <sjors@desjors.nl> | |||
- Stefan Rado <owncloud@sradonia.net> | |||
- Stefan Schneider <stefan.schneider@squareweave.com.au> | |||
- Stefan Weiberg <sweiberg@suse.com> | |||
- Stefan Weil <sw@weilnetz.de> | |||
- Steffen Lindner <mail@steffen-lindner.de> | |||
- Stephan Müller <mail@stephanmueller.eu> | |||
- Stephan Peijnik <speijnik@anexia-it.com> | |||
- Stephen Cuppett <steve@cuppett.com> | |||
- Steven Bühner <buehner@me.com> | |||
- Sujith H <sharidasan@owncloud.com> | |||
- Sven Strickroth <email@cs-ware.de> | |||
- Sylvia van Os <sylvia@hackerchick.me> | |||
- Tekhnee <info@tekhnee.org> | |||
- Temtaime <temtaime@gmail.com> | |||
- Thibaut GRIDEL <tgridel@free.fr> | |||
- Thomas Citharel <nextcloud@tcit.fr> | |||
- Thomas Ebert <thomas.ebert@usability.de> | |||
- Thomas Müller <thomas.mueller@tmit.eu> | |||
- Thomas Pulzer <t.pulzer@kniel.de> | |||
- Thomas Tanghus <thomas@tanghus.net> | |||
- Tiago Flores <tiago.flores@yahoo.com.br> | |||
- Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> | |||
- Tim Dettrick <t.dettrick@uq.edu.au> | |||
- Tim Obert <tobert@w-commerce.de> | |||
- Tim Terhorst <mynamewastaken+gitlab@gmail.com> | |||
- TimObert <tobert@w-commerce.de> | |||
- Timo Förster <tfoerster@webfoersterei.de> | |||
- Tobia De Koninck <LEDfan@users.noreply.github.com> | |||
- Tobia De Koninck <tobia@ledfan.be> | |||
- Tobias Kaminsky <tobias@kaminsky.me> | |||
- Tobias Perschon <tobias@perschon.at> | |||
- Tom Needham <tom@owncloud.com> | |||
- Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com> | |||
- Tor Lillqvist <tml@collabora.com> | |||
- Unknown <anpz.asutp@gmail.com> | |||
- Valdnet <47037905+Valdnet@users.noreply.github.com> | |||
- Victor Dubiniuk <dubiniuk@owncloud.com> | |||
- Viktor Szépe <viktor@szepe.net> | |||
- Vincent Chan <plus.vincchan@gmail.com> | |||
- Vincent Petry <pvince81@owncloud.com> | |||
- Vinicius Cubas Brand <vinicius@eita.org.br> | |||
- Vitor Mattos <vitor@php.rio> | |||
- Vlastimil Pecinka <pecinka@email.cz> | |||
- Volkan Gezer <volkangezer@gmail.com> | |||
- Volker <skydiablo@gmx.net> | |||
- William Pain <pain.william@gmail.com> | |||
- Xheni Myrtaj <myrtajxheni@gmail.com> | |||
- Xuanwo <xuanwo@yunify.com> | |||
- adrien <adrien.waksberg@believedigital.com> | |||
- alexweirig <alex.weirig@technolink.lu> | |||
- b108@volgograd "b108@volgograd" | |||
- bladewing <lukas@ifflaender-family.de> | |||
- bline <scottbeck@gmail.com> | |||
- blizzz <blizzz@arthur-schiwon.de> | |||
- brad2014 <brad2014@users.noreply.github.com> | |||
- brumsel <brumsel@losecatcher.de> | |||
- cetra3 <peter@parashift.com.au> | |||
- cmeh <cmeh@users.noreply.github.com> | |||
- comradekingu <epost@anotheragency.no> | |||
- dartcafe <github@dartcafe.de> | |||
- davidgumberg <davidnoizgumberg@gmail.com> | |||
- davitol <dtoledo@solidgear.es> | |||
- derkostka <sebastian.kostka@gmail.com> | |||
- duritong <peter.meier+github@immerda.ch> | |||
- eduardo <eduardo@vnexu.net> | |||
- enoch <lanxenet@hotmail.com> | |||
- exner104 <59639860+exner104@users.noreply.github.com> | |||
- fabian <fabian@web2.0-apps.de> | |||
- felixboehm <felix@webhippie.de> | |||
- fnuesse <felix.nuesse@t-online.de> | |||
- fnuesse <fnuesse@techfak.uni-bielefeld.de> | |||
- helix84 <helix84@centrum.sk> | |||
- hkjolhede <hkjolhede@gmail.com> | |||
- ideaship <ideaship@users.noreply.github.com> | |||
- j-ed <juergen@eisfair.org> | |||
- j3l11234 <297259024@qq.com> | |||
- jaltek <jaltek@mailbox.org> | |||
- jknockaert <jasper@knockaert.nl> | |||
- josh4trunks <joshruehlig@gmail.com> | |||
- karakayasemi <karakayasemi@itu.edu.tr> | |||
- korelstar <korelstar@users.noreply.github.com> | |||
- lui87kw <lukas.ifflaender@uni-wuerzburg.de> | |||
- macjohnny <estebanmarin@gmx.ch> | |||
- marco44 <cousinmarc@gmail.com> | |||
- martin-rueegg <martin.rueegg@metaworx.ch> | |||
- martin.mattel@diemattels.at <martin.mattel@diemattels.at> | |||
- martink-p <47943787+martink-p@users.noreply.github.com> | |||
- michaelletzgus <michaelletzgus@users.noreply.github.com> | |||
- michag86 <micha_g@arcor.de> | |||
- mmccarn <mmccarn-github@mmsionline.us> | |||
- nhirokinet <nhirokinet@nhiroki.net> | |||
- nishiki <nishiki@yaegashi.fr> | |||
- onehappycat <one.happy.cat@gmx.com> | |||
- oparoz <owncloud@interfasys.ch> | |||
- phisch <git@philippschaffrath.de> | |||
- rakekniven <mark.ziegler@rakekniven.de> | |||
- rawtaz <rawtaz@users.noreply.github.com> | |||
- root "root@oc.(none)" | |||
- root <root@localhost.localdomain> | |||
- rubo77 <github@r.z11.de> | |||
- sammo2828 <sammo2828@gmail.com> | |||
- scambra <sergio@entrecables.com> | |||
- scolebrook <scolebrook@mac.com> | |||
- shkdee <louis.traynard@m4x.org> | |||
- simonspa <1677436+simonspa@users.noreply.github.com> | |||
- sualko <klaus@jsxc.org> | |||
- tbartenstein <tbartenstein@users.noreply.github.com> | |||
- tbelau666 <thomas.belau@gmx.de> | |||
- tux-rampage <tux-rampage@users.noreply.github.com> | |||
- v1r0x <vinzenz.rosenkranz@gmail.com> | |||
- voxsim "Simon Vocella" | |||
- waleczny <michal@walczak.xyz> | |||
- zulan <git@zulan.net> | |||
- Łukasz Buśko <busko.lukasz@pm.me> | |||
With help from many libraries and frameworks including: | |||
Open Collaboration Services | |||
SabreDAV | |||
jQuery | |||
… |
@ -1,105 +0,0 @@ | |||
<?php | |||
/** | |||
* @copyright Copyright (c) 2016, ownCloud, Inc. | |||
* | |||
* @author Bart Visscher <bartv@thisnet.nl> | |||
* @author Christoph Wurst <christoph@winzerhof-wurst.at> | |||
* @author Estelle Poulin <dev@inspiredby.es> | |||
* @author Joas Schilling <coding@schilljs.com> | |||
* @author Ko- <k.stoffelen@cs.ru.nl> | |||
* @author Lukas Reschke <lukas@statuscode.ch> | |||
* @author Michael Weimann <mail@michael-weimann.eu> | |||
* @author Morris Jobke <hey@morrisjobke.de> | |||
* @author Patrick Paysant <patrick.paysant@linagora.com> | |||
* @author RealRancor <fisch.666@gmx.de> | |||
* @author Roeland Jago Douma <roeland@famdouma.nl> | |||
* @author Thomas Müller <thomas.mueller@tmit.eu> | |||
* @author Victor Dubiniuk <dubiniuk@owncloud.com> | |||
* | |||
* @license AGPL-3.0 | |||
* | |||
* This code is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU Affero General Public License, version 3, | |||
* as published by the Free Software Foundation. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Affero General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU Affero General Public License, version 3, | |||
* along with this program. If not, see <http://www.gnu.org/licenses/> | |||
* | |||
*/ | |||
require_once __DIR__ . '/lib/versioncheck.php'; | |||
use OC\Console\Application; | |||
use Symfony\Component\Console\Input\ArgvInput; | |||
use Symfony\Component\Console\Output\ConsoleOutput; | |||
define('OC_CONSOLE', 1); | |||
function exceptionHandler($exception) { | |||
echo "An unhandled exception has been thrown:" . PHP_EOL; | |||
echo $exception; | |||
exit(1); | |||
} | |||
try { | |||
require_once __DIR__ . '/lib/base.php'; | |||
// set to run indefinitely if needed | |||
if (strpos(@ini_get('disable_functions'), 'set_time_limit') === false) { | |||
@set_time_limit(0); | |||
} | |||
if (!OC::$CLI) { | |||
echo "This script can be run from the command line only" . PHP_EOL; | |||
exit(1); | |||
} | |||
set_exception_handler('exceptionHandler'); | |||
if (!function_exists('posix_getuid')) { | |||
echo "The posix extensions are required - see http://php.net/manual/en/book.posix.php" . PHP_EOL; | |||
exit(1); | |||
} | |||
$user = posix_getuid(); | |||
$configUser = fileowner(OC::$configDir . 'config.php'); | |||
if ($user !== $configUser) { | |||
echo "Console has to be executed with the user that owns the file config/config.php" . PHP_EOL; | |||
echo "Current user id: " . $user . PHP_EOL; | |||
echo "Owner id of config.php: " . $configUser . PHP_EOL; | |||
echo "Try adding 'sudo -u #" . $configUser . "' to the beginning of the command (without the single quotes)" . PHP_EOL; | |||
echo "If running with 'docker exec' try adding the option '-u " . $configUser . "' to the docker command (without the single quotes)" . PHP_EOL; | |||
exit(1); | |||
} | |||
$oldWorkingDir = getcwd(); | |||
if ($oldWorkingDir === false) { | |||
echo "This script can be run from the Nextcloud root directory only." . PHP_EOL; | |||
echo "Can't determine current working dir - the script will continue to work but be aware of the above fact." . PHP_EOL; | |||
} elseif ($oldWorkingDir !== __DIR__ && !chdir(__DIR__)) { | |||
echo "This script can be run from the Nextcloud root directory only." . PHP_EOL; | |||
echo "Can't change to Nextcloud root directory." . PHP_EOL; | |||
exit(1); | |||
} | |||
if (!function_exists('pcntl_signal') && !in_array('--no-warnings', $argv)) { | |||
echo "The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php" . PHP_EOL; | |||
} | |||
$application = new Application( | |||
\OC::$server->getConfig(), | |||
\OC::$server->getEventDispatcher(), | |||
\OC::$server->getRequest(), | |||
\OC::$server->getLogger(), | |||
\OC::$server->query(\OC\MemoryInfo::class) | |||
); | |||
$application->loadCommands(new ArgvInput(), new ConsoleOutput()); | |||
$application->run(); | |||
} catch (Exception $ex) { | |||
exceptionHandler($ex); | |||
} catch (Error $ex) { | |||
exceptionHandler($ex); | |||
} |
@ -1 +0,0 @@ | |||
build/ |
@ -1,19 +0,0 @@ | |||
filter: | |||
excluded_paths: | |||
- 'templates/*' | |||
- 'css/*' | |||
- 'tests/*' | |||
imports: | |||
- php | |||
- javascript | |||
tools: | |||
external_code_coverage: | |||
timeout: 3600 | |||
checks: | |||
php: | |||
# this is not working properly with core exceptions | |||
catch_class_exists: false | |||
line_length: | |||
max_length: '80' |
@ -1,44 +0,0 @@ | |||
sudo: false | |||
language: php | |||
php: | |||
- 7.2 | |||
env: | |||
global: | |||
- DB=sqlite | |||
matrix: | |||
- CORE_BRANCH=stable19 REPO=nextcloud/server | |||
matrix: | |||
fast_finish: true | |||
before_install: | |||
- wget https://phar.phpunit.de/phpunit-5.7.phar | |||
- chmod +x phpunit-5.7.phar | |||
- mkdir bin | |||
- mv phpunit-5.7.phar bin/phpunit | |||
- phpunit --version | |||
- cd ../ | |||
- git clone https://github.com/$REPO.git --recursive --depth 1 -b $CORE_BRANCH mainrepo | |||
- mv apporder mainrepo/apps/ | |||
before_script: | |||
# fill owncloud with default configs and enable apporder | |||
- cd mainrepo | |||
- mkdir data | |||
- ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database $DB --database-pass='' | |||
- ./occ app:enable apporder | |||
- ./occ app:check-code apporder | |||
- php -S localhost:8080 & | |||
- cd apps/apporder | |||
- export PATH="$PWD/bin:$PATH" | |||
script: | |||
- make test | |||
after_failure: | |||
- cat ../../data/owncloud.log | |||
after_success: | |||
- wget https://scrutinizer-ci.com/ocular.phar | |||
- php ocular.phar code-coverage:upload --format=php-clover build/php-unit.clover |
@ -1,9 +0,0 @@ | |||
[main] | |||
host = https://www.transifex.com | |||
lang_map = bg_BG: bg, cs_CZ: cs, fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja | |||
[nextcloud.apporder] | |||
file_filter = translationfiles/<lang>/apporder.po | |||
source_file = translationfiles/templates/apporder.pot | |||
source_lang = en | |||
type = PO |
@ -1,74 +0,0 @@ | |||
# Changelog | |||
All notable changes to this project will be documented in this file. | |||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | |||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | |||
## [0.12.0] - 2021-03-03 | |||
### Added | |||
- Support for Nextcloud 21 | |||
## [0.11.0] - 2020-09-03 | |||
### Added | |||
- Support for Nextcloud 20 | |||
## [0.10.0] - 2020-05-22 | |||
### Added | |||
- Support for Nextcloud 19 | |||
- Added functionality to force an admin-defined order | |||
### Fixed | |||
- Fix for app sorting in dark mode | |||
## [0.9.0] - 2019-12-22 | |||
### Added | |||
- Support for Nextcloud 18 | |||
## [0.8.0] - 2019-08-20 | |||
### Added | |||
- Support for Nextcloud 17 | |||
## [0.7.1] - 2019-04-27 | |||
### Fixed | |||
- Scanning of outdated files | |||
## [0.7.0] - 2019-04-11 | |||
### Changed | |||
- Add support for Nextcloud 16 | |||
## [0.6.0] - 2018-11-24 | |||
## [0.5.0] - 2018-08-03 | |||
## [0.4.1] - 2017-12-05 | |||
### Fixed | |||
- Fix bug in IE11 | |||
## [0.4.0] - 2017-08-04 | |||
### Changed | |||
- Move order changing to the personal/admin settings | |||
- Make it possible to hide apps per user/as admin | |||
- Add support for new Nextcloud menu | |||
## [0.3.3] - 2016-10-12 | |||
## [0.3.2] - 2016-09-06 | |||
## [0.3.1] - 2016-09-05 | |||
## [0.3.0] - 2016-09-04 | |||
### Changed | |||
- Drop support for Nextcloud 9 / OwnCloud 9.0 | |||
### Added | |||
- Set default landing page per user (See README.md for details) | |||
## [0.2.0] - 2016-09-04 | |||
@ -1,661 +0,0 @@ | |||
GNU AFFERO GENERAL PUBLIC LICENSE | |||
Version 3, 19 November 2007 | |||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | |||
Everyone is permitted to copy and distribute verbatim copies | |||
of this license document, but changing it is not allowed. | |||
Preamble | |||
The GNU Affero General Public License is a free, copyleft license for | |||
software and other kinds of works, specifically designed to ensure | |||
cooperation with the community in the case of network server software. | |||
The licenses for most software and other practical works are designed | |||
to take away your freedom to share and change the works. By contrast, | |||
our General Public Licenses are intended to guarantee your freedom to | |||
share and change all versions of a program--to make sure it remains free | |||
software for all its users. | |||
When we speak of free software, we are referring to freedom, not | |||
price. Our General Public Licenses are designed to make sure that you | |||
have the freedom to distribute copies of free software (and charge for | |||
them if you wish), that you receive source code or can get it if you | |||
want it, that you can change the software or use pieces of it in new | |||
free programs, and that you know you can do these things. | |||
Developers that use our General Public Licenses protect your rights | |||
with two steps: (1) assert copyright on the software, and (2) offer | |||
you this License which gives you legal permission to copy, distribute | |||
and/or modify the software. | |||
A secondary benefit of defending all users' freedom is that | |||
improvements made in alternate versions of the program, if they | |||
receive widespread use, become available for other developers to | |||
incorporate. Many developers of free software are heartened and | |||
encouraged by the resulting cooperation. However, in the case of | |||
software used on network servers, this result may fail to come about. | |||
The GNU General Public License permits making a modified version and | |||
letting the public access it on a server without ever releasing its | |||
source code to the public. | |||
The GNU Affero General Public License is designed specifically to | |||
ensure that, in such cases, the modified source code becomes available | |||
to the community. It requires the operator of a network server to | |||
provide the source code of the modified version running there to the | |||
users of that server. Therefore, public use of a modified version, on | |||
a publicly accessible server, gives the public access to the source | |||
code of the modified version. | |||
An older license, called the Affero General Public License and | |||
published by Affero, was designed to accomplish similar goals. This is | |||
a different license, not a version of the Affero GPL, but Affero has | |||
released a new version of the Affero GPL which permits relicensing under | |||
this license. | |||
The precise terms and conditions for copying, distribution and | |||
modification follow. | |||
TERMS AND CONDITIONS | |||
0. Definitions. | |||
"This License" refers to version 3 of the GNU Affero General Public License. | |||
"Copyright" also means copyright-like laws that apply to other kinds of | |||
works, such as semiconductor masks. | |||
"The Program" refers to any copyrightable work licensed under this | |||
License. Each licensee is addressed as "you". "Licensees" and | |||
"recipients" may be individuals or organizations. | |||
To "modify" a work means to copy from or adapt all or part of the work | |||
in a fashion requiring copyright permission, other than the making of an | |||
exact copy. The resulting work is called a "modified version" of the | |||
earlier work or a work "based on" the earlier work. | |||
A "covered work" means either the unmodified Program or a work based | |||
on the Program. | |||
To "propagate" a work means to do anything with it that, without | |||
permission, would make you directly or secondarily liable for | |||
infringement under applicable copyright law, except executing it on a | |||
computer or modifying a private copy. Propagation includes copying, | |||
distribution (with or without modification), making available to the | |||
public, and in some countries other activities as well. | |||
To "convey" a work means any kind of propagation that enables other | |||
parties to make or receive copies. Mere interaction with a user through | |||
a computer network, with no transfer of a copy, is not conveying. | |||
An interactive user interface displays "Appropriate Legal Notices" | |||
to the extent that it includes a convenient and prominently visible | |||
feature that (1) displays an appropriate copyright notice, and (2) | |||
tells the user that there is no warranty for the work (except to the | |||
extent that warranties are provided), that licensees may convey the | |||
work under this License, and how to view a copy of this License. If | |||
the interface presents a list of user commands or options, such as a | |||
menu, a prominent item in the list meets this criterion. | |||
1. Source Code. | |||
The "source code" for a work means the preferred form of the work | |||
for making modifications to it. "Object code" means any non-source | |||
form of a work. | |||
A "Standard Interface" means an interface that either is an official | |||
standard defined by a recognized standards body, or, in the case of | |||
interfaces specified for a particular programming language, one that | |||
is widely used among developers working in that language. | |||
The "System Libraries" of an executable work include anything, other | |||
than the work as a whole, that (a) is included in the normal form of | |||
packaging a Major Component, but which is not part of that Major | |||
Component, and (b) serves only to enable use of the work with that | |||
Major Component, or to implement a Standard Interface for which an | |||
implementation is available to the public in source code form. A | |||
"Major Component", in this context, means a major essential component | |||
(kernel, window system, and so on) of the specific operating system | |||
(if any) on which the executable work runs, or a compiler used to | |||
produce the work, or an object code interpreter used to run it. | |||
The "Corresponding Source" for a work in object code form means all | |||
the source code needed to generate, install, and (for an executable | |||
work) run the object code and to modify the work, including scripts to | |||
control those activities. However, it does not include the work's | |||
System Libraries, or general-purpose tools or generally available free | |||
programs which are used unmodified in performing those activities but | |||
which are not part of the work. For example, Corresponding Source | |||
includes interface definition files associated with source files for | |||
the work, and the source code for shared libraries and dynamically | |||
linked subprograms that the work is specifically designed to require, | |||
such as by intimate data communication or control flow between those | |||
subprograms and other parts of the work. | |||
The Corresponding Source need not include anything that users | |||
can regenerate automatically from other parts of the Corresponding | |||
Source. | |||
The Corresponding Source for a work in source code form is that | |||
same work. | |||
2. Basic Permissions. | |||
All rights granted under this License are granted for the term of | |||
copyright on the Program, and are irrevocable provided the stated | |||
conditions are met. This License explicitly affirms your unlimited | |||
permission to run the unmodified Program. The output from running a | |||
covered work is covered by this License only if the output, given its | |||
content, constitutes a covered work. This License acknowledges your | |||
rights of fair use or other equivalent, as provided by copyright law. | |||
You may make, run and propagate covered works that you do not | |||
convey, without conditions so long as your license otherwise remains | |||
in force. You may convey covered works to others for the sole purpose | |||
of having them make modifications exclusively for you, or provide you | |||
with facilities for running those works, provided that you comply with | |||
the terms of this License in conveying all material for which you do | |||
not control copyright. Those thus making or running the covered works | |||
for you must do so exclusively on your behalf, under your direction | |||
and control, on terms that prohibit them from making any copies of | |||
your copyrighted material outside their relationship with you. | |||
Conveying under any other circumstances is permitted solely under | |||
the conditions stated below. Sublicensing is not allowed; section 10 | |||
makes it unnecessary. | |||
3. Protecting Users' Legal Rights From Anti-Circumvention Law. | |||
No covered work shall be deemed part of an effective technological | |||
measure under any applicable law fulfilling obligations under article | |||
11 of the WIPO copyright treaty adopted on 20 December 1996, or | |||
similar laws prohibiting or restricting circumvention of such | |||
measures. | |||
When you convey a covered work, you waive any legal power to forbid | |||
circumvention of technological measures to the extent such circumvention | |||
is effected by exercising rights under this License with respect to | |||
the covered work, and you disclaim any intention to limit operation or | |||
modification of the work as a means of enforcing, against the work's | |||
users, your or third parties' legal rights to forbid circumvention of | |||
technological measures. | |||
4. Conveying Verbatim Copies. | |||
You may convey verbatim copies of the Program's source code as you | |||
receive it, in any medium, provided that you conspicuously and | |||
appropriately publish on each copy an appropriate copyright notice; | |||
keep intact all notices stating that this License and any | |||
non-permissive terms added in accord with section 7 apply to the code; | |||
keep intact all notices of the absence of any warranty; and give all | |||
recipients a copy of this License along with the Program. | |||
You may charge any price or no price for each copy that you convey, | |||
and you may offer support or warranty protection for a fee. | |||
5. Conveying Modified Source Versions. | |||
You may convey a work based on the Program, or the modifications to | |||
produce it from the Program, in the form of source code under the | |||
terms of section 4, provided that you also meet all of these conditions: | |||
a) The work must carry prominent notices stating that you modified | |||
it, and giving a relevant date. | |||
b) The work must carry prominent notices stating that it is | |||
released under this License and any conditions added under section | |||
7. This requirement modifies the requirement in section 4 to | |||
"keep intact all notices". | |||
c) You must license the entire work, as a whole, under this | |||
License to anyone who comes into possession of a copy. This | |||
License will therefore apply, along with any applicable section 7 | |||
additional terms, to the whole of the work, and all its parts, | |||
regardless of how they are packaged. This License gives no | |||
permission to license the work in any other way, but it does not | |||
invalidate such permission if you have separately received it. | |||
d) If the work has interactive user interfaces, each must display | |||
Appropriate Legal Notices; however, if the Program has interactive | |||
interfaces that do not display Appropriate Legal Notices, your | |||
work need not make them do so. | |||
A compilation of a covered work with other separate and independent | |||
works, which are not by their nature extensions of the covered work, | |||
and which are not combined with it such as to form a larger program, | |||
in or on a volume of a storage or distribution medium, is called an | |||
"aggregate" if the compilation and its resulting copyright are not | |||
used to limit the access or legal rights of the compilation's users | |||
beyond what the individual works permit. Inclusion of a covered work | |||
in an aggregate does not cause this License to apply to the other | |||
parts of the aggregate. | |||
6. Conveying Non-Source Forms. | |||
You may convey a covered work in object code form under the terms | |||
of sections 4 and 5, provided that you also convey the | |||
machine-readable Corresponding Source under the terms of this License, | |||
in one of these ways: | |||
a) Convey the object code in, or embodied in, a physical product | |||
(including a physical distribution medium), accompanied by the | |||
Corresponding Source fixed on a durable physical medium | |||
customarily used for software interchange. | |||
b) Convey the object code in, or embodied in, a physical product | |||
(including a physical distribution medium), accompanied by a | |||
written offer, valid for at least three years and valid for as | |||
long as you offer spare parts or customer support for that product | |||
model, to give anyone who possesses the object code either (1) a | |||
copy of the Corresponding Source for all the software in the | |||
product that is covered by this License, on a durable physical | |||
medium customarily used for software interchange, for a price no | |||
more than your reasonable cost of physically performing this | |||
conveying of source, or (2) access to copy the | |||
Corresponding Source from a network server at no charge. | |||
c) Convey individual copies of the object code with a copy of the | |||
written offer to provide the Corresponding Source. This | |||
alternative is allowed only occasionally and noncommercially, and | |||
only if you received the object code with such an offer, in accord | |||
with subsection 6b. | |||
d) Convey the object code by offering access from a designated | |||
place (gratis or for a charge), and offer equivalent access to the | |||
Corresponding Source in the same way through the same place at no | |||
further charge. You need not require recipients to copy the | |||
Corresponding Source along with the object code. If the place to | |||
copy the object code is a network server, the Corresponding Source | |||
may be on a different server (operated by you or a third party) | |||
that supports equivalent copying facilities, provided you maintain | |||
clear directions next to the object code saying where to find the | |||
Corresponding Source. Regardless of what server hosts the | |||
Corresponding Source, you remain obligated to ensure that it is | |||
available for as long as needed to satisfy these requirements. | |||
e) Convey the object code using peer-to-peer transmission, provided | |||
you inform other peers where the object code and Corresponding | |||
Source of the work are being offered to the general public at no | |||
charge under subsection 6d. | |||
A separable portion of the object code, whose source code is excluded | |||
from the Corresponding Source as a System Library, need not be | |||
included in conveying the object code work. | |||
A "User Product" is either (1) a "consumer product", which means any | |||
tangible personal property which is normally used for personal, family, | |||
or household purposes, or (2) anything designed or sold for incorporation | |||
into a dwelling. In determining whether a product is a consumer product, | |||
doubtful cases shall be resolved in favor of coverage. For a particular | |||
product received by a particular user, "normally used" refers to a | |||
typical or common use of that class of product, regardless of the status | |||
of the particular user or of the way in which the particular user | |||
actually uses, or expects or is expected to use, the product. A product | |||
is a consumer product regardless of whether the product has substantial | |||
commercial, industrial or non-consumer uses, unless such uses represent | |||
the only significant mode of use of the product. | |||
"Installation Information" for a User Product means any methods, | |||
procedures, authorization keys, or other information required to install | |||
and execute modified versions of a covered work in that User Product from | |||
a modified version of its Corresponding Source. The information must | |||
suffice to ensure that the continued functioning of the modified object | |||
code is in no case prevented or interfered with solely because | |||
modification has been made. | |||
If you convey an object code work under this section in, or with, or | |||
specifically for use in, a User Product, and the conveying occurs as | |||
part of a transaction in which the right of possession and use of the | |||
User Product is transferred to the recipient in perpetuity or for a | |||
fixed term (regardless of how the transaction is characterized), the | |||
Corresponding Source conveyed under this section must be accompanied | |||
by the Installation Information. But this requirement does not apply | |||
if neither you nor any third party retains the ability to install | |||
modified object code on the User Product (for example, the work has | |||
been installed in ROM). | |||
The requirement to provide Installation Information does not include a | |||
requirement to continue to provide support service, warranty, or updates | |||
for a work that has been modified or installed by the recipient, or for | |||
the User Product in which it has been modified or installed. Access to a | |||
network may be denied when the modification itself materially and | |||
adversely affects the operation of the network or violates the rules and | |||
protocols for communication across the network. | |||
Corresponding Source conveyed, and Installation Information provided, | |||
in accord with this section must be in a format that is publicly | |||
documented (and with an implementation available to the public in | |||
source code form), and must require no special password or key for | |||
unpacking, reading or copying. | |||
7. Additional Terms. | |||
"Additional permissions" are terms that supplement the terms of this | |||
License by making exceptions from one or more of its conditions. | |||
Additional permissions that are applicable to the entire Program shall | |||
be treated as though they were included in this License, to the extent | |||
that they are valid under applicable law. If additional permissions | |||
apply only to part of the Program, that part may be used separately | |||
under those permissions, but the entire Program remains governed by | |||
this License without regard to the additional permissions. | |||
When you convey a copy of a covered work, you may at your option | |||
remove any additional permissions from that copy, or from any part of | |||
it. (Additional permissions may be written to require their own | |||
removal in certain cases when you modify the work.) You may place | |||
additional permissions on material, added by you to a covered work, | |||
for which you have or can give appropriate copyright permission. | |||
Notwithstanding any other provision of this License, for material you | |||
add to a covered work, you may (if authorized by the copyright holders of | |||
that material) supplement the terms of this License with terms: | |||
a) Disclaiming warranty or limiting liability differently from the | |||
terms of sections 15 and 16 of this License; or | |||
b) Requiring preservation of specified reasonable legal notices or | |||
author attributions in that material or in the Appropriate Legal | |||
Notices displayed by works containing it; or | |||
c) Prohibiting misrepresentation of the origin of that material, or | |||
requiring that modified versions of such material be marked in | |||
reasonable ways as different from the original version; or | |||
d) Limiting the use for publicity purposes of names of licensors or | |||
authors of the material; or | |||
e) Declining to grant rights under trademark law for use of some | |||
trade names, trademarks, or service marks; or | |||
f) Requiring indemnification of licensors and authors of that | |||
material by anyone who conveys the material (or modified versions of | |||
it) with contractual assumptions of liability to the recipient, for | |||
any liability that these contractual assumptions directly impose on | |||
those licensors and authors. | |||
All other non-permissive additional terms are considered "further | |||
restrictions" within the meaning of section 10. If the Program as you | |||
received it, or any part of it, contains a notice stating that it is | |||
governed by this License along with a term that is a further | |||
restriction, you may remove that term. If a license document contains | |||
a further restriction but permits relicensing or conveying under this | |||
License, you may add to a covered work material governed by the terms | |||
of that license document, provided that the further restriction does | |||
not survive such relicensing or conveying. | |||
If you add terms to a covered work in accord with this section, you | |||
must place, in the relevant source files, a statement of the | |||
additional terms that apply to those files, or a notice indicating | |||
where to find the applicable terms. | |||
Additional terms, permissive or non-permissive, may be stated in the | |||
form of a separately written license, or stated as exceptions; | |||
the above requirements apply either way. | |||
8. Termination. | |||
You may not propagate or modify a covered work except as expressly | |||
provided under this License. Any attempt otherwise to propagate or | |||
modify it is void, and will automatically terminate your rights under | |||
this License (including any patent licenses granted under the third | |||
paragraph of section 11). | |||
However, if you cease all violation of this License, then your | |||
license from a particular copyright holder is reinstated (a) | |||
provisionally, unless and until the copyright holder explicitly and | |||
finally terminates your license, and (b) permanently, if the copyright | |||
holder fails to notify you of the violation by some reasonable means | |||
prior to 60 days after the cessation. | |||
Moreover, your license from a particular copyright holder is | |||
reinstated permanently if the copyright holder notifies you of the | |||
violation by some reasonable means, this is the first time you have | |||
received notice of violation of this License (for any work) from that | |||
copyright holder, and you cure the violation prior to 30 days after | |||
your receipt of the notice. | |||
Termination of your rights under this section does not terminate the | |||
licenses of parties who have received copies or rights from you under | |||
this License. If your rights have been terminated and not permanently | |||
reinstated, you do not qualify to receive new licenses for the same | |||
material under section 10. | |||
9. Acceptance Not Required for Having Copies. | |||
You are not required to accept this License in order to receive or | |||
run a copy of the Program. Ancillary propagation of a covered work | |||
occurring solely as a consequence of using peer-to-peer transmission | |||
to receive a copy likewise does not require acceptance. However, | |||
nothing other than this License grants you permission to propagate or | |||
modify any covered work. These actions infringe copyright if you do | |||
not accept this License. Therefore, by modifying or propagating a | |||
covered work, you indicate your acceptance of this License to do so. | |||
10. Automatic Licensing of Downstream Recipients. | |||
Each time you convey a covered work, the recipient automatically | |||
receives a license from the original licensors, to run, modify and | |||
propagate that work, subject to this License. You are not responsible | |||
for enforcing compliance by third parties with this License. | |||
An "entity transaction" is a transaction transferring control of an | |||
organization, or substantially all assets of one, or subdividing an | |||
organization, or merging organizations. If propagation of a covered | |||
work results from an entity transaction, each party to that | |||
transaction who receives a copy of the work also receives whatever | |||
licenses to the work the party's predecessor in interest had or could | |||
give under the previous paragraph, plus a right to possession of the | |||
Corresponding Source of the work from the predecessor in interest, if | |||
the predecessor has it or can get it with reasonable efforts. | |||
You may not impose any further restrictions on the exercise of the | |||
rights granted or affirmed under this License. For example, you may | |||
not impose a license fee, royalty, or other charge for exercise of | |||
rights granted under this License, and you may not initiate litigation | |||
(including a cross-claim or counterclaim in a lawsuit) alleging that | |||
any patent claim is infringed by making, using, selling, offering for | |||
sale, or importing the Program or any portion of it. | |||
11. Patents. | |||
A "contributor" is a copyright holder who authorizes use under this | |||
License of the Program or a work on which the Program is based. The | |||
work thus licensed is called the contributor's "contributor version". | |||
A contributor's "essential patent claims" are all patent claims | |||
owned or controlled by the contributor, whether already acquired or | |||
hereafter acquired, that would be infringed by some manner, permitted | |||
by this License, of making, using, or selling its contributor version, | |||
but do not include claims that would be infringed only as a | |||
consequence of further modification of the contributor version. For | |||
purposes of this definition, "control" includes the right to grant | |||
patent sublicenses in a manner consistent with the requirements of | |||
this License. | |||
Each contributor grants you a non-exclusive, worldwide, royalty-free | |||
patent license under the contributor's essential patent claims, to | |||
make, use, sell, offer for sale, import and otherwise run, modify and | |||
propagate the contents of its contributor version. | |||
In the following three paragraphs, a "patent license" is any express | |||
agreement or commitment, however denominated, not to enforce a patent | |||
(such as an express permission to practice a patent or covenant not to | |||
sue for patent infringement). To "grant" such a patent license to a | |||
party means to make such an agreement or commitment not to enforce a | |||
patent against the party. | |||
If you convey a covered work, knowingly relying on a patent license, | |||
and the Corresponding Source of the work is not available for anyone | |||
to copy, free of charge and under the terms of this License, through a | |||
publicly available network server or other readily accessible means, | |||
then you must either (1) cause the Corresponding Source to be so | |||
available, or (2) arrange to deprive yourself of the benefit of the | |||
patent license for this particular work, or (3) arrange, in a manner | |||
consistent with the requirements of this License, to extend the patent | |||
license to downstream recipients. "Knowingly relying" means you have | |||
actual knowledge that, but for the patent license, your conveying the | |||
covered work in a country, or your recipient's use of the covered work | |||
in a country, would infringe one or more identifiable patents in that | |||
country that you have reason to believe are valid. | |||
If, pursuant to or in connection with a single transaction or | |||
arrangement, you convey, or propagate by procuring conveyance of, a | |||
covered work, and grant a patent license to some of the parties | |||
receiving the covered work authorizing them to use, propagate, modify | |||
or convey a specific copy of the covered work, then the patent license | |||
you grant is automatically extended to all recipients of the covered | |||
work and works based on it. | |||
A patent license is "discriminatory" if it does not include within | |||
the scope of its coverage, prohibits the exercise of, or is | |||
conditioned on the non-exercise of one or more of the rights that are | |||
specifically granted under this License. You may not convey a covered | |||
work if you are a party to an arrangement with a third party that is | |||
in the business of distributing software, under which you make payment | |||
to the third party based on the extent of your activity of conveying | |||
the work, and under which the third party grants, to any of the | |||
parties who would receive the covered work from you, a discriminatory | |||
patent license (a) in connection with copies of the covered work | |||
conveyed by you (or copies made from those copies), or (b) primarily | |||
for and in connection with specific products or compilations that | |||
contain the covered work, unless you entered into that arrangement, | |||
or that patent license was granted, prior to 28 March 2007. | |||
Nothing in this License shall be construed as excluding or limiting | |||
any implied license or other defenses to infringement that may | |||
otherwise be available to you under applicable patent law. | |||
12. No Surrender of Others' Freedom. | |||
If conditions are imposed on you (whether by court order, agreement or | |||
otherwise) that contradict the conditions of this License, they do not | |||
excuse you from the conditions of this License. If you cannot convey a | |||
covered work so as to satisfy simultaneously your obligations under this | |||
License and any other pertinent obligations, then as a consequence you may | |||
not convey it at all. For example, if you agree to terms that obligate you | |||
to collect a royalty for further conveying from those to whom you convey | |||
the Program, the only way you could satisfy both those terms and this | |||
License would be to refrain entirely from conveying the Program. | |||
13. Remote Network Interaction; Use with the GNU General Public License. | |||
Notwithstanding any other provision of this License, if you modify the | |||
Program, your modified version must prominently offer all users | |||
interacting with it remotely through a computer network (if your version | |||
supports such interaction) an opportunity to receive the Corresponding | |||
Source of your version by providing access to the Corresponding Source | |||
from a network server at no charge, through some standard or customary | |||
means of facilitating copying of software. This Corresponding Source | |||
shall include the Corresponding Source for any work covered by version 3 | |||
of the GNU General Public License that is incorporated pursuant to the | |||
following paragraph. | |||
Notwithstanding any other provision of this License, you have | |||
permission to link or combine any covered work with a work licensed | |||
under version 3 of the GNU General Public License into a single | |||
combined work, and to convey the resulting work. The terms of this | |||
License will continue to apply to the part which is the covered work, | |||
but the work with which it is combined will remain governed by version | |||
3 of the GNU General Public License. | |||
14. Revised Versions of this License. | |||
The Free Software Foundation may publish revised and/or new versions of | |||
the GNU Affero General Public License from time to time. Such new versions | |||
will be similar in spirit to the present version, but may differ in detail to | |||
address new problems or concerns. | |||
Each version is given a distinguishing version number. If the | |||
Program specifies that a certain numbered version of the GNU Affero General | |||
Public License "or any later version" applies to it, you have the | |||
option of following the terms and conditions either of that numbered | |||
version or of any later version published by the Free Software | |||
Foundation. If the Program does not specify a version number of the | |||
GNU Affero General Public License, you may choose any version ever published | |||
by the Free Software Foundation. | |||
If the Program specifies that a proxy can decide which future | |||
versions of the GNU Affero General Public License can be used, that proxy's | |||
public statement of acceptance of a version permanently authorizes you | |||
to choose that version for the Program. | |||
Later license versions may give you additional or different | |||
permissions. However, no additional obligations are imposed on any | |||
author or copyright holder as a result of your choosing to follow a | |||
later version. | |||
15. Disclaimer of Warranty. | |||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY | |||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT | |||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY | |||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, | |||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM | |||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF | |||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION. | |||
16. Limitation of Liability. | |||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | |||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS | |||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY | |||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE | |||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF | |||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD | |||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), | |||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF | |||
SUCH DAMAGES. | |||
17. Interpretation of Sections 15 and 16. | |||
If the disclaimer of warranty and limitation of liability provided | |||
above cannot be given local legal effect according to their terms, | |||
reviewing courts shall apply local law that most closely approximates | |||
an absolute waiver of all civil liability in connection with the | |||
Program, unless a warranty or assumption of liability accompanies a | |||
copy of the Program in return for a fee. | |||
END OF TERMS AND CONDITIONS | |||
How to Apply These Terms to Your New Programs | |||
If you develop a new program, and you want it to be of the greatest | |||
possible use to the public, the best way to achieve this is to make it | |||
free software which everyone can redistribute and change under these terms. | |||
To do so, attach the following notices to the program. It is safest | |||
to attach them to the start of each source file to most effectively | |||
state the exclusion of warranty; and each file should have at least | |||
the "copyright" line and a pointer to where the full notice is found. | |||
<one line to give the program's name and a brief idea of what it does.> | |||
Copyright (C) <year> <name of author> | |||
This program is free software: you can redistribute it and/or modify | |||
it under the terms of the GNU Affero General Public License as published | |||
by the Free Software Foundation, either version 3 of the License, or | |||
(at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
GNU Affero General Public License for more details. | |||
You should have received a copy of the GNU Affero General Public License | |||
along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
Also add information on how to contact you by electronic and paper mail. | |||
If your software can interact with users remotely through a computer | |||
network, you should also make sure that it provides a way for users to | |||
get its source. For example, if your program is a web application, its | |||
interface could display a "Source" link that leads users to an archive | |||
of the code. There are many ways you could offer source, and different | |||
solutions will be better for different programs; see section 13 for the | |||
specific requirements. | |||
You should also get your employer (if you work as a programmer) or school, | |||
if any, to sign a "copyright disclaimer" for the program, if necessary. | |||
For more information on this, and how to apply and follow the GNU AGPL, see | |||
<http://www.gnu.org/licenses/>. |
@ -1,177 +0,0 @@ | |||
# This file is licensed under the Affero General Public License version 3 or | |||
# later. See the COPYING file. | |||
# @author Bernhard Posselt <dev@bernhard-posselt.com> | |||
# @copyright Bernhard Posselt 2016 | |||
# Generic Makefile for building and packaging an ownCloud app which uses npm and | |||
# Composer. | |||
# | |||
# Dependencies: | |||
# * make | |||
# * which | |||
# * curl: used if phpunit and composer are not installed to fetch them from the web | |||
# * tar: for building the archive | |||
# * npm: for building and testing everything JS | |||
# | |||
# If no composer.json is in the app root directory, the Composer step | |||
# will be skipped. The same goes for the package.json which can be located in | |||
# the app root or the js/ directory. | |||
# | |||
# The npm command by launches the npm build script: | |||
# | |||
# npm run build | |||
# | |||
# The npm test command launches the npm test script: | |||
# | |||
# npm run test | |||
# | |||
# The idea behind this is to be completely testing and build tool agnostic. All | |||
# build tools and additional package managers should be installed locally in | |||
# your project, since this won't pollute people's global namespace. | |||
# | |||
# The following npm scripts in your package.json install and update the bower | |||
# and npm dependencies and use gulp as build system (notice how everything is | |||
# run from the node_modules folder): | |||
# | |||
# "scripts": { | |||
# "test": "node node_modules/gulp-cli/bin/gulp.js karma", | |||
# "prebuild": "npm install && node_modules/bower/bin/bower install && node_modules/bower/bin/bower update", | |||
# "build": "node node_modules/gulp-cli/bin/gulp.js" | |||
# }, | |||
app_name=$(notdir $(CURDIR)) | |||
build_tools_directory=$(CURDIR)/build/tools | |||
source_build_directory=$(CURDIR)/build/artifacts/source | |||
source_package_name=$(source_build_directory)/$(app_name) | |||
appstore_build_directory=$(CURDIR)/build/artifacts/appstore | |||
appstore_package_name=$(appstore_build_directory)/$(app_name) | |||
npm=$(shell which npm 2> /dev/null) | |||
composer=$(shell which composer 2> /dev/null) | |||
all: build | |||
# Fetches the PHP and JS dependencies and compiles the JS. If no composer.json | |||
# is present, the composer step is skipped, if no package.json or js/package.json | |||
# is present, the npm step is skipped | |||
.PHONY: build | |||
build: | |||
ifneq (,$(wildcard $(CURDIR)/composer.json)) | |||
make composer | |||
endif | |||
ifneq (,$(wildcard $(CURDIR)/package.json)) | |||
make npm | |||
endif | |||
ifneq (,$(wildcard $(CURDIR)/js/package.json)) | |||
make npm | |||
endif | |||
# Installs and updates the composer dependencies. If composer is not installed | |||
# a copy is fetched from the web | |||
.PHONY: composer | |||
composer: | |||
ifeq (, $(composer)) | |||
@echo "No composer command available, downloading a copy from the web" | |||
mkdir -p $(build_tools_directory) | |||
curl -sS https://getcomposer.org/installer | php | |||
mv composer.phar $(build_tools_directory) | |||
php $(build_tools_directory)/composer.phar install --prefer-dist | |||
php $(build_tools_directory)/composer.phar update --prefer-dist | |||
else | |||
composer install --prefer-dist | |||
composer update --prefer-dist | |||
endif | |||
# Installs npm dependencies | |||
.PHONY: npm | |||
npm: | |||
ifeq (,$(wildcard $(CURDIR)/package.json)) | |||
cd js && $(npm) run build | |||
else | |||
npm run build | |||
endif | |||
# Removes the appstore build | |||
.PHONY: clean | |||
clean: | |||
rm -rf ./build | |||
# Same as clean but also removes dependencies installed by composer, bower and | |||
# npm | |||
.PHONY: distclean | |||
distclean: clean | |||
rm -rf vendor | |||
rm -rf node_modules | |||
rm -rf js/vendor | |||
rm -rf js/node_modules | |||
# Builds the source and appstore package | |||
.PHONY: dist | |||
dist: | |||
make source | |||
make appstore | |||
# Builds the source package | |||
.PHONY: source | |||
source: | |||
rm -rf $(source_build_directory) | |||
mkdir -p $(source_build_directory) | |||
tar cvzf $(source_package_name).tar.gz --exclude-vcs \ | |||
--exclude="../$(app_name)/build" \ | |||
--exclude="../$(app_name)/js/node_modules" \ | |||
--exclude="../$(app_name)/node_modules" \ | |||
--exclude="../$(app_name)/*.log" \ | |||
--exclude="../$(app_name)/js/*.log" \ | |||
../$(app_name) \ | |||
# Builds the source package for the app store, ignores php and js tests | |||
.PHONY: appstore | |||
appstore: | |||
rm -rf $(appstore_build_directory) | |||
mkdir -p $(appstore_build_directory) | |||
tar cvzf $(appstore_package_name).tar.gz \ | |||
--exclude="../$(app_name)/build" \ | |||
--exclude="../$(app_name)/tests" \ | |||
--exclude="../$(app_name)/Makefile" \ | |||
--exclude="../$(app_name)/*.log" \ | |||
--exclude="../$(app_name)/phpunit*xml" \ | |||
--exclude="../$(app_name)/composer.*" \ | |||
--exclude="../$(app_name)/js/node_modules" \ | |||
--exclude="../$(app_name)/js/tests" \ | |||
--exclude="../$(app_name)/js/test" \ | |||
--exclude="../$(app_name)/js/*.log" \ | |||
--exclude="../$(app_name)/js/package.json" \ | |||
--exclude="../$(app_name)/js/bower.json" \ | |||
--exclude="../$(app_name)/js/karma.*" \ | |||
--exclude="../$(app_name)/js/protractor.*" \ | |||
--exclude="../$(app_name)/package.json" \ | |||
--exclude="../$(app_name)/bower.json" \ | |||
--exclude="../$(app_name)/karma.*" \ | |||
--exclude="../$(app_name)/protractor\.*" \ | |||
--exclude="../$(app_name)/.*" \ | |||
--exclude="../$(app_name)/js/.*" \ | |||
--exclude-vcs \ | |||
../$(app_name) | |||
# Command for running JS and PHP tests. Works for package.json files in the js/ | |||
# and root directory. If phpunit is not installed systemwide, a copy is fetched | |||
# from the internet | |||
.PHONY: test | |||
test: | |||
ifneq (,$(wildcard $(CURDIR)/js/package.json)) | |||
cd js && $(npm) run test | |||
endif | |||
ifneq (,$(wildcard $(CURDIR)/package.json)) | |||
$(npm) run test | |||
endif | |||
ifeq (, $(shell which phpunit 2> /dev/null)) | |||
@echo "No phpunit command available, downloading a copy from the web" | |||
mkdir -p $(build_tools_directory) | |||
curl -sSL https://phar.phpunit.de/phpunit.phar -o $(build_tools_directory)/phpunit.phar | |||
php $(build_tools_directory)/phpunit.phar -c phpunit.xml | |||
php $(build_tools_directory)/phpunit.phar -c phpunit.integration.xml | |||
else | |||
phpunit -c phpunit.xml --coverage-clover build/php-unit.clover | |||
phpunit -c phpunit.integration.xml --coverage-clover build/php-unit.clover | |||
endif |
@ -1,30 +0,0 @@ | |||
# AppOrder | |||
[![Build Status](https://travis-ci.org/juliushaertl/apporder.svg?branch=master)](https://travis-ci.org/juliushaertl/apporder) | |||
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/juliushaertl/apporder/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/juliushaertl/apporder/?branch=master) | |||
[![Code Coverage](https://scrutinizer-ci.com/g/juliushaertl/apporder/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/juliushaertl/apporder/?branch=master) | |||
Enable sorting the app icons from the personal settings. The order will be | |||
saved for each user individually. Administrators can define a custom default | |||
order. | |||
## Set a default order for all new users | |||
Go to the Admin settings > Additional settings and drag the icons under App order. | |||
## Use first app as default app | |||
You can easily let Nextcloud redirect your user to the first app in their | |||
personal order by changing the following parameter in your config/config.php: | |||
'defaultapp' => 'apporder', | |||
Users will now get redirected to the first app of the default order or to the | |||
first app of the user order. | |||
# Installation | |||
## From git | |||
1. Clone the app into your apps/ directory: `git clone https://github.com/juliushaertl/apporder.git` | |||
2. Enable it |
@ -1,25 +0,0 @@ | |||
<?php | |||
/** | |||
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @author Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @license GNU AGPL version 3 or any later version | |||
* | |||
* This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU Affero General Public License as | |||
* published by the Free Software Foundation, either version 3 of the | |||
* License, or (at your option) any later version. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Affero General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU Affero General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
* | |||
*/ | |||
\OCP\Util::addStyle('apporder', 'apporder'); | |||
\OCP\Util::addScript('apporder', 'apporder'); |
@ -1,43 +0,0 @@ | |||
<?xml version="1.0"?> | |||
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" | |||
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd"> | |||
<id>apporder</id> | |||
<name>AppOrder</name> | |||
<summary>Sort apps in the menu with drag and drop</summary> | |||
<description> | |||
Enable sorting the app icons from the personal settings. The order will be saved for each | |||
user individually. Administrators can define a custom default order. | |||
## Set a default order for all new users | |||
Go to the Admin settings > Additional settings and drag the icons under App order. | |||
## Use first app as default app | |||
You can easily let Nextcloud redirect your user to the first app in their | |||
personal order by changing the following parameter in your config/config.php: | |||
'defaultapp' => 'apporder', | |||
Users will now get redirected to the first app of the default order or to the | |||
first app of the user order. | |||
</description> | |||
<version>0.12.0</version> | |||
<licence>agpl</licence> | |||
<author mail="jus@bitgrid.net">Julius Härtl</author> | |||
<namespace>AppOrder</namespace> | |||
<category>customization</category> | |||
<bugs>https://github.com/juliushaertl/apporder/issues</bugs> | |||
<repository type="git">https://github.com/juliushaertl/apporder.git</repository> | |||
<screenshot>https://download.bitgrid.net/nextcloud/apporder/apporder.png</screenshot> | |||
<dependencies> | |||
<nextcloud min-version="16" max-version="21" /> | |||
</dependencies> | |||
<settings> | |||
<admin>OCA\AppOrder\Settings\AdminSettings</admin> | |||
<admin-section>OCA\AppOrder\Settings\Section</admin-section> | |||
<personal>OCA\AppOrder\Settings\PersonalSettings</personal> | |||
<personal-section>OCA\AppOrder\Settings\Section</personal-section> | |||
</settings> | |||
</info> | |||
@ -1,34 +0,0 @@ | |||
<?php | |||
/** | |||
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @author Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @license GNU AGPL version 3 or any later version | |||
* | |||
* This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU Affero General Public License as | |||
* published by the Free Software Foundation, either version 3 of the | |||
* License, or (at your option) any later version. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Affero General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU Affero General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
* | |||
*/ | |||
return [ | |||
'routes' => [ | |||
['name' => 'app#index', 'url' => '/', 'verb' => 'GET'], | |||
['name' => 'settings#getOrder', 'url' => '/getOrder', 'verb' => 'GET'], | |||
['name' => 'settings#savePersonal', 'url' => '/savePersonal', 'verb' => 'POST'], | |||
['name' => 'settings#saveDefaultOrder', 'url' => '/saveDefaultOrder', 'verb' => 'POST'], | |||
['name' => 'settings#savePersonalHidden', 'url' => '/savePersonalHidden', 'verb' => 'POST'], | |||
['name' => 'settings#saveDefaultHidden', 'url' => '/saveDefaultHidden', 'verb' => 'POST'], | |||
['name' => 'settings#saveDefaultForce', 'url' => '/saveDefaultForce', 'verb' => 'POST'], | |||
] | |||
]; |
@ -1,57 +0,0 @@ | |||
#appsorter { | |||
margin-top: 10px; | |||
width: 100%; | |||
max-width: 320px; | |||
} | |||
#appsorter li { | |||
margin-bottom: 2px; | |||
display: flex; | |||
} | |||
#appsorter img { | |||
width: 20px; | |||
height: 20px; | |||
margin: 1px; | |||
margin-right: 10px; | |||
-webkit-filter: invert(1); | |||
filter: invert(1); | |||
filter: progid:DXImageTransform.Microsoft.BasicImage(invert='1'); | |||
opacity: .7; | |||
} | |||
.dark #appsorter img { | |||
-webkit-filter: invert(0); | |||
filter: invert(0); | |||
} | |||
#appsorter .placeholder { | |||
border: 1px dashed #aaaaaa; | |||
visibility: visible; | |||
width: 100%; | |||
height: 20px; | |||
margin-bottom: 2px; | |||
border-radius: 3px; | |||
} | |||
#appsorter li input { | |||
margin: 0; | |||
padding: 0; | |||
width: 14px; | |||
height: 14px; | |||
margin-top: -5px; | |||
margin-right: 10px; | |||
} | |||
#appsorter li p { | |||
padding: 1px; | |||
} | |||
#appsorterforce { | |||
margin-bottom: 2px; | |||
display: flex; | |||
} | |||
#appsorterforce input { | |||
margin: -5px 5px 0px 5px; | |||
padding: 0; | |||
width: 14px; | |||
height: 14px; | |||
} |
@ -1,125 +0,0 @@ | |||
$(function () { | |||
var app_menu = $('#appmenu'); | |||
if (!app_menu.length) | |||
return; | |||
app_menu.css('opacity', '0'); | |||
var mapMenu = function(parent, order, hidden) { | |||
available_apps = {}; | |||
parent.find('li').each(function () { | |||
var id = $(this).find('a').attr('href'); | |||
if(hidden.indexOf(id) > -1){ | |||
$(this).remove(); | |||
} | |||
available_apps[id] = $(this); | |||
}); | |||
//Remove hidden from order array | |||
order = order.filter(function(e){ | |||
return !(hidden.indexOf(e) > -1); | |||
}) | |||
$.each(order, function (order, value) { | |||
parent.prepend(available_apps[value]); | |||
}); | |||
}; | |||
// restore existing order | |||
$.get(OC.generateUrl('/apps/apporder/getOrder'),function(data){ | |||
var order_json = data.order; | |||
var hidden_json = data.hidden; | |||
var order = []; | |||
var hidden = []; | |||
try { | |||
order = JSON.parse(order_json).reverse(); | |||
} catch (e) { | |||
order = []; | |||
} | |||
try { | |||
hidden = JSON.parse(hidden_json); | |||
} catch (e) { | |||
hidden = []; | |||
} | |||
if (order.length === 0) { | |||
app_menu.css('opacity', '1'); | |||
return; | |||
} | |||
mapMenu($('#appmenu'), order, hidden); | |||
mapMenu($('#apps').find('ul'), order, hidden); | |||
$(window).trigger('resize'); | |||
app_menu.css('opacity', '1'); | |||
}); | |||
// Sorting inside settings | |||
$("#appsorter").sortable({ | |||
forcePlaceholderSize: true, | |||
placeholder: 'placeholder', | |||
stop: function (event, ui) { | |||
var items = []; | |||
var url; | |||
var type = $('#appsorter').data('type'); | |||
if(type === 'admin') { | |||
url = OC.generateUrl('/apps/apporder/saveDefaultOrder'); | |||
} else { | |||
url = OC.generateUrl('/apps/apporder/savePersonal'); | |||
} | |||
$("#appsorter").children().each(function (i, el) { | |||
var item = $(el).find('p').data("url"); | |||
items.push(item) | |||
}); | |||
var json = JSON.stringify(items); | |||
$.post(url, { | |||
order: json | |||
}, function (data) { | |||
$(event.srcElement).effect("highlight", {}, 1000); | |||
}); | |||
} | |||
}); | |||
$(".apporderhidden").change(function(){ | |||
var hiddenList = []; | |||
var url; | |||
var type = $("#appsorter").data("type"); | |||
if(type === 'admin') { | |||
url = OC.generateUrl('/apps/apporder/saveDefaultHidden'); | |||
} else { | |||
url = OC.generateUrl('/apps/apporder/savePersonalHidden'); | |||
} | |||
$(".apporderhidden").each(function(i, el){ | |||
if(!el.checked){ | |||
hiddenList.push($(el).siblings('p').attr('data-url')) | |||
} | |||
}); | |||
var json = JSON.stringify(hiddenList); | |||
$.post(url, { | |||
hidden: json | |||
}, function (data) { | |||
//$(event.srcElement).effect("highlight", {}, 1000); | |||
}); | |||
}); | |||
$("#forcecheckbox").change(function(){ | |||
var hiddenList = []; | |||
var url; | |||
var type = $("#forcecheckbox").data("type"); | |||
if(type === 'admin') { | |||
url = OC.generateUrl('/apps/apporder/saveDefaultForce'); | |||
var checked = $("#forcecheckbox").get(0).checked; | |||
var json = JSON.stringify(checked); | |||
$.post(url, { | |||
force: json | |||
}, function (data) { | |||
// Not really anything to do here ... | |||
}); | |||
} | |||
}); | |||
}); |
@ -1,8 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "ترتيب التطبيقات", | |||
"App Order" : "ترتيب التطبيقات", | |||
"Drag the app icons to change their order." : "قم بسحب أيقونة التطبيق لتغيير ترتيبتها." | |||
}, | |||
"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"); |
@ -1,6 +0,0 @@ | |||
{ "translations": { | |||
"AppOrder" : "ترتيب التطبيقات", | |||
"App Order" : "ترتيب التطبيقات", | |||
"Drag the app icons to change their order." : "قم بسحب أيقونة التطبيق لتغيير ترتيبتها." | |||
},"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;" | |||
} |
@ -1,6 +0,0 @@ | |||
{ "translations": { | |||
"AppOrder" : "AppOrder", | |||
"App Order" : "Orde d'aplicaciones", | |||
"Drag the app icons to change their order." : "Arrastra los iconos de l'aplicación pa camudar el so orde." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,9 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "Подредба на приложения", | |||
"Sort apps in the menu with drag and drop" : "Променя реда на приложенията", | |||
"App Order" : "Подредба на приложенията", | |||
"Drag the app icons to change their order." : "Влачете иконите на приложенията, за да промените подредбата им" | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Pořadí aplikací", | |||
"AppOrder" : "Pořadí aplikací", | |||
"Sort apps in the menu with drag and drop" : "Měňte pořadí aplikací v nabídce pomocí „táhni a pusť“", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Umožňuje seřazení ikon aplikací prostřednictvím osobních nastavení. Pořadí bude uloženo\npro každého uživatele zvlášť. Správci mohou určit výchozí pořadí ikon.\n\n## Nastavení výchozího pořadí ikon pro nové uživatele\n\nJděte do Nastavení > Správa > Další nastavení a v sekci Pořadí aplikací popřetahujte ikony do vámi zvoleného pořadí.\n\n## Použití první aplikace jako výchozí\n\nUživatele můžete snadno přesměrovat na první aplikaci v jejich pořadí tím, že změníte následující parametr v souboru config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUživatelé nyní budou automaticky přesměrováni na první aplikaci výchozího popř. jimi nastaveného pořadí.", | |||
"App Order" : "Pořadí aplikací", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Nastavit výchozí pořadí pro všechny uživatele. Toto bude ignorováno, pokud si uživatel nastavil své vlastní pořadí a výchozí pořadí není vynucováno.", | |||
"Drag the app icons to change their order." : "Pořadí aplikací změníte přetažením jejich ikon.", | |||
"Force the default order for all users:" : "Vynutit výchozí pořadí pro všechny uživatele:", | |||
"If enabled, users will not be able to set a custom order." : "Pokud je zapnuto, uživatelé si nebudou moci upravovat pořadí." | |||
},"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;" | |||
} |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Apporden", | |||
"AppOrder" : "AppOrder", | |||
"Sort apps in the menu with drag and drop" : "Sorter apps i menuen med træk og slip", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Aktiver sortering af app ikoner i personlige indstillinger. Rækkefølgen bliver gemt individuelt for hver bruger. Administratorer kan definere en anden standard rækkefølge.\n\n## Indstil en standard rækkefølge for alle nye brugere\n\nGå til Administrator indstillinger > yderligere indstillinger og træk ikonerne til App rækkefølge.\n\n## Benyt første app som standard app\n\nDu kan let lade Nextcloud guide din bruger til den første app in deres\npersonlige rækkefølge ved at ændre den følgende parameter i din config/config.php:\n\n 'defaultapp' => 'apporder',\n\nBrugere bliver nu dirigeret til den første app i standard rækkefølgen eller den første app i brugerens rækkefølge.", | |||
"App Order" : "Apporden", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Angiv forvalgt rækkefølge for alle brugere. Dette ignoreres, hvis brugeren selv angiver egen rækkefølge, og den forvalgte rækkefølge er ikke påtvunget. ", | |||
"Drag the app icons to change their order." : "Flyt appikonerne for at ændre ordenen.", | |||
"Force the default order for all users:" : "Gennemtving den forvalgte rækkefølge for alle brugere:", | |||
"If enabled, users will not be able to set a custom order." : "Hvis slået til, så kan brugere ikke angive egne rækkefølger. " | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "App-Reihenfolge", | |||
"AppOrder" : "App-Reihenfolge", | |||
"Sort apps in the menu with drag and drop" : "Apps im Menü per Drag und Drop sortieren", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Ermöglicht es, die Reihenfolge der App-Icons in den persönlichen Einstellungen anzupassen. Die Reihenfolge wird für jeden \nBenutzer getrennt gespeichert. Administratoren können eine Standard-Sortierung vorgeben.\n\n##Standard-Sortierung für neue Benutzer einstellen\n\nUnter Administratoren-Einstellungen > Zusätzliche Einstellungen die Icons in die gewünschte Reihenfolge ziehen.\n\nErste App als Standard-App setzen\nUm die Benutzer einfach zur ersten App in ihrer\npersönlichen Reihenfolge umzuleiten, einfach in der config/config.php folgenden Parameter setzen:\n\n 'defaultapp' => 'apporder',\n\nBenutzer werden nun zur ersten App der Standard-Reihenfolge oder ihrer\npersönlichen Reihenfolge umgeleitet.", | |||
"App Order" : "App-Reihenfolge", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Standardreihenfolge für alle Benutzer einstellen. Diese Einstellung wird ignoriert, sofern der Benutzer eine eigene Reihenfolge eingestellt hat und die Standardreihenfolge nicht erzwungen wird.", | |||
"Drag the app icons to change their order." : "Verschiebe die App-Symbole, um ihre Reihenfolge zu verändern.", | |||
"Force the default order for all users:" : "Standardreihenfolge für alle Benutzer erzwingen:", | |||
"If enabled, users will not be able to set a custom order." : "Wenn aktiviert, können Benutzer keine eigene Reihenfolge einstellen." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Σειρά εφαρμογών", | |||
"AppOrder" : "Αίτηση Εφαρμογής", | |||
"Sort apps in the menu with drag and drop" : "Ταξινόμηση εφαρμογών στο μενού με μεταφορά και απόθεση", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Ενεργοποιήστε την ταξινόμηση των εικονιδίων των εφαρμογών από τις προσωπικές ρυθμίσεις. θα αποθηκευτεί για κάθε\nχρήστη ξεχωριστά. Οι διαχειριστές μπορούν να καθορίσουν μια προσαρμοσμένη προεπιλεγμένη σειρά.\n\n## Καθορίστε προεπιλογή για όλους τους νέους χρήστες\nΣτις ρυθμίσεις διαχειριστή > επιπλέον ρυθμίσεις και σέρετε και αποθέστε τα εικονίδια εφαρμογών.\n\n## Χρήση της πρώτης εφαρμογής ως προεπιλογή\n\nΠρορείτε εύκολα να επιτρέψετε στο Nextcloud να ανακατευθύνει τους χρήστες στην πρώτη εφαρμογή από τις\nπροσωπικές ρυθμίσεις αλλάζοντας την παράμετρο στο αρχείο config/config.php:\n\n 'defaultapp' => 'apporder',\n\nΟι χρήστες θα ανακατευθυνθούν στην πρώτη εφαρμογή απο την προεπιλογή ή στην πρώτη εφαρμογή του χρήστη.", | |||
"App Order" : "Σειρά εφαρμογών", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Ορίστε μια προεπιλεγμένη σειρά για όλους τους χρήστες. Αυτό θα αγνοηθεί εάν ο χρήστης έχει ρυθμίσει μια προσαρμοσμένη σειρά και η προεπιλεγμένη δεν θα εφαρμοστεί.", | |||
"Drag the app icons to change their order." : " Σύρετε τα εικονίδια των εφαρμογών για να αλλάξετε τη σειρά τους.", | |||
"Force the default order for all users:" : "Επιβολή προεπιλογής σε όλους τους χρήστες:", | |||
"If enabled, users will not be able to set a custom order." : "Αν ενεργοποιηθεί, οι χρήστες δεν θα μπορούν να ορίσουν μια προσαρμοσμένη σειρά." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Σειρά εφαρμογών", | |||
"AppOrder" : "Αίτηση Εφαρμογής", | |||
"Sort apps in the menu with drag and drop" : "Ταξινόμηση εφαρμογών στο μενού με μεταφορά και απόθεση", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Ενεργοποιήστε την ταξινόμηση των εικονιδίων των εφαρμογών από τις προσωπικές ρυθμίσεις. θα αποθηκευτεί για κάθε\nχρήστη ξεχωριστά. Οι διαχειριστές μπορούν να καθορίσουν μια προσαρμοσμένη προεπιλεγμένη σειρά.\n\n## Καθορίστε προεπιλογή για όλους τους νέους χρήστες\nΣτις ρυθμίσεις διαχειριστή > επιπλέον ρυθμίσεις και σέρετε και αποθέστε τα εικονίδια εφαρμογών.\n\n## Χρήση της πρώτης εφαρμογής ως προεπιλογή\n\nΠρορείτε εύκολα να επιτρέψετε στο Nextcloud να ανακατευθύνει τους χρήστες στην πρώτη εφαρμογή από τις\nπροσωπικές ρυθμίσεις αλλάζοντας την παράμετρο στο αρχείο config/config.php:\n\n 'defaultapp' => 'apporder',\n\nΟι χρήστες θα ανακατευθυνθούν στην πρώτη εφαρμογή απο την προεπιλογή ή στην πρώτη εφαρμογή του χρήστη.", | |||
"App Order" : "Σειρά εφαρμογών", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Ορίστε μια προεπιλεγμένη σειρά για όλους τους χρήστες. Αυτό θα αγνοηθεί εάν ο χρήστης έχει ρυθμίσει μια προσαρμοσμένη σειρά και η προεπιλεγμένη δεν θα εφαρμοστεί.", | |||
"Drag the app icons to change their order." : " Σύρετε τα εικονίδια των εφαρμογών για να αλλάξετε τη σειρά τους.", | |||
"Force the default order for all users:" : "Επιβολή προεπιλογής σε όλους τους χρήστες:", | |||
"If enabled, users will not be able to set a custom order." : "Αν ενεργοποιηθεί, οι χρήστες δεν θα μπορούν να ορίσουν μια προσαρμοσμένη σειρά." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "App order", | |||
"AppOrder" : "AppOrder", | |||
"Sort apps in the menu with drag and drop" : "Sort apps in the menu with drag and drop", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order.", | |||
"App Order" : "App Order", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced.", | |||
"Drag the app icons to change their order." : "Drag the app icons to change their order.", | |||
"Force the default order for all users:" : "Force the default order for all users:", | |||
"If enabled, users will not be able to set a custom order." : "If enabled, users will not be able to set a custom order." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,11 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Aplikaĵa ordo", | |||
"AppOrder" : "Aplikaĵa ordo", | |||
"Sort apps in the menu with drag and drop" : "Ordigi menuajn aplikaĵojn per ŝovo kaj demeto", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Ebligas ordigi la aplikaĵajn piktogramojn el la personaj agordoj. Sian propran ordon havas ĉiu uzanto.\nAdministranto povas difini propran defaŭltan ordon.\n\n## Agordi defaŭltan ordon por ĉiuj novaj uzantoj\n\nIru al la administranto-agordoj > Plia agordo, kaj ŝovu la piktogramojn trovantajn en „Ordo de la aplikaĵoj“.\n\n## Uzi la unuan aplikaĵon kiel defaŭltan aplikaĵon\n\nVi povas agordi vian Nextcloud, por ke ĝi alidirektu la uzanton al la unua aplikaĵo de la ordo: ŝanĝu la jenan agordon en la dosiero „config/config.php“:\n\n 'defaultapp' => 'apporder',\n\nUzantoj alidirektiĝos al la unua elektita aplikaĵo de la defaŭlta ordo aŭ al la unua aplikaĵo de sia propra ordo.", | |||
"App Order" : "Ordo de la aplikaĵoj", | |||
"Drag the app icons to change their order." : "Ŝovi la aplikaĵajn piktogramojn por ŝanĝi ilian ordon." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,9 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Aplikaĵa ordo", | |||
"AppOrder" : "Aplikaĵa ordo", | |||
"Sort apps in the menu with drag and drop" : "Ordigi menuajn aplikaĵojn per ŝovo kaj demeto", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Ebligas ordigi la aplikaĵajn piktogramojn el la personaj agordoj. Sian propran ordon havas ĉiu uzanto.\nAdministranto povas difini propran defaŭltan ordon.\n\n## Agordi defaŭltan ordon por ĉiuj novaj uzantoj\n\nIru al la administranto-agordoj > Plia agordo, kaj ŝovu la piktogramojn trovantajn en „Ordo de la aplikaĵoj“.\n\n## Uzi la unuan aplikaĵon kiel defaŭltan aplikaĵon\n\nVi povas agordi vian Nextcloud, por ke ĝi alidirektu la uzanton al la unua aplikaĵo de la ordo: ŝanĝu la jenan agordon en la dosiero „config/config.php“:\n\n 'defaultapp' => 'apporder',\n\nUzantoj alidirektiĝos al la unua elektita aplikaĵo de la defaŭlta ordo aŭ al la unua aplikaĵo de sia propra ordo.", | |||
"App Order" : "Ordo de la aplikaĵoj", | |||
"Drag the app icons to change their order." : "Ŝovi la aplikaĵajn piktogramojn por ŝanĝi ilian ordon." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Orden de apps", | |||
"AppOrder" : "AppOrder", | |||
"Sort apps in the menu with drag and drop" : "Ordenar apps en el menú mediante arrastrar y soltar", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Permite ordenar los iconos de las apps desde la configuración personal. El orden se salvará individualmente para\ncada usuario. Los administradores puede definir un orden por defecto personalizado.\n\n## Configurar un orden por defecto para todos los usuarios nuevos\n\nConfiguración > Configuración adicional y arrastrar los iconos debajo de App Order.\n\n## Usar la primera app como app por defecto\n\nPuedes dejar que Nextcloud redireccione tu usuario a la primera app en el\norden personal con mucha facilidad. Hay que cambiar el siguiente parámetro en tu config/config.php:\n\n'defaultapp' => 'apporder',\n\nLos usuarios serán redirigidos a partir de ahora la primera app del orden por defecto o a la\nprimera app del orden del usuario.", | |||
"App Order" : "Orden de apps", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Establecer un orden predeterminado para todos los usuarios. Esto se ignorará si el usuario ha configurado un orden personalizado o si el orden predeterminado no está forzado.", | |||
"Drag the app icons to change their order." : "Arrastra los iconos de las aplicaciones para cambiar el orden.", | |||
"Force the default order for all users:" : "Forzar orden para todos los usuarios:", | |||
"If enabled, users will not be able to set a custom order." : "Si se activa, los usuarios no podrán personalizar el orden de las apps." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,8 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,6 +0,0 @@ | |||
{ "translations": { | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,8 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,6 +0,0 @@ | |||
{ "translations": { | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,6 +0,0 @@ | |||
{ "translations": { | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,8 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,6 +0,0 @@ | |||
{ "translations": { | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,8 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,10 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "Orden de la aplicación", | |||
"Sort apps in the menu with drag and drop" : "Ordena las aplicaciones en el menú arrastrándolas", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Habilita el ordenamiento de los íconos de aplicaciones desde las configuraciones personales. El orden se guardará para cada \nusuario individualmente. Los adminsitradores pueden definir un orden predeterminado. \n\n### Establece el orden predeterminado para todos los usuarios\n\nVe a las configuraciones de Admin > Configuraciones adicionales y arrastra los íconos en orden de App.\n\n## Usa la primera aplicación como la aplicación predeterminada\n\nPuedes permitirle fácilmente a Nexcloud redirigir a tu usuario a la primera aplicación en su ordenamiento personal cambiando el siguiente parámetro en tu archivo config/config.php:\n\n'defaultapp' => 'apporder',\n\nLos usuarios ahora serán redirigidos a la primera aplicación del ordenamiento predeterminado o a la primera aplicación del ordenamiento de ese usuario. ", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,6 +0,0 @@ | |||
{ "translations": { | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,8 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,8 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,8 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,8 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,6 +0,0 @@ | |||
{ "translations": { | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,8 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "Orden de la aplicación", | |||
"App Order" : "Orden de la aplicación", | |||
"Drag the app icons to change their order." : "Arrastra los íconos de la aplicación para cambiar su orden." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,8 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"AppOrder" : "AppOrder", | |||
"App Order" : "Rakenduste järjestus", | |||
"Drag the app icons to change their order." : "Rakenduste järjestuse muutmiseks lohista need sobivasse kohta." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Aplikazioen ordena", | |||
"AppOrder" : "App-en ordena", | |||
"Sort apps in the menu with drag and drop" : "Ordenatu menuko aplikazioak arrastatu eta jareginez", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Gaitu aplikazioen ikonoen ordena norbere ezarpenetatik aldatzea. Erabiltzaile bakoitzak\nbere ordena eduki dezake. Kudeatzaileek lehenetsitako ordena definitu dezakete.\n\n## Ezarri lehenetsitako ordena erabiltzaile berri guztientzat\n\nJoan Kudeatzaile ezarpenetara > Ezarpen gehigarrietara eta arrastatu App-en ordenaren azpiko ikonoak.\n\n## Erabili lehen aplikazioa lehenetsitakoa bezala\n\nNextcloudek erabiltzaile bakoitza bere ordena pertsonaleko lehen aplikaziorantz\nberbideratu dezake modu errazean, ezarpenetan honako parametroa aldatuz config/config.php:\n\n 'defaultapp' => 'apporder',\n\nErabiltzaileak berbideratuak izango dira ordena lehenetsiko lehen aplikaziora edo\nerabiltzailearen ordenaren lehen aplikaziora.", | |||
"App Order" : "App-en ordena", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Ezarri lehenetsitako orden bat erabiltzaile guztientzat. Hau ezikusi egingo da erabiltzaileak orden pertsonalizatu bat konfiguratuta badu, eta orden lehenetsia ez badago behartuta.", | |||
"Drag the app icons to change their order." : "Arrastatu app-en ikonoak ordena aldatzeko.", | |||
"Force the default order for all users:" : "Behartu lehenetsitako ordena erabiltzaile guztientzat:", | |||
"If enabled, users will not be able to set a custom order." : "Gaituta badago, erabiltzaileek ezingo dute orden pertsonalizatu bat ezarri." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Aplikazioen ordena", | |||
"AppOrder" : "App-en ordena", | |||
"Sort apps in the menu with drag and drop" : "Ordenatu menuko aplikazioak arrastatu eta jareginez", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Gaitu aplikazioen ikonoen ordena norbere ezarpenetatik aldatzea. Erabiltzaile bakoitzak\nbere ordena eduki dezake. Kudeatzaileek lehenetsitako ordena definitu dezakete.\n\n## Ezarri lehenetsitako ordena erabiltzaile berri guztientzat\n\nJoan Kudeatzaile ezarpenetara > Ezarpen gehigarrietara eta arrastatu App-en ordenaren azpiko ikonoak.\n\n## Erabili lehen aplikazioa lehenetsitakoa bezala\n\nNextcloudek erabiltzaile bakoitza bere ordena pertsonaleko lehen aplikaziorantz\nberbideratu dezake modu errazean, ezarpenetan honako parametroa aldatuz config/config.php:\n\n 'defaultapp' => 'apporder',\n\nErabiltzaileak berbideratuak izango dira ordena lehenetsiko lehen aplikaziora edo\nerabiltzailearen ordenaren lehen aplikaziora.", | |||
"App Order" : "App-en ordena", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Ezarri lehenetsitako orden bat erabiltzaile guztientzat. Hau ezikusi egingo da erabiltzaileak orden pertsonalizatu bat konfiguratuta badu, eta orden lehenetsia ez badago behartuta.", | |||
"Drag the app icons to change their order." : "Arrastatu app-en ikonoak ordena aldatzeko.", | |||
"Force the default order for all users:" : "Behartu lehenetsitako ordena erabiltzaile guztientzat:", | |||
"If enabled, users will not be able to set a custom order." : "Gaituta badago, erabiltzaileek ezingo dute orden pertsonalizatu bat ezarri." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "سفارش برنامه", | |||
"AppOrder" : "سفارش برنامه", | |||
"Sort apps in the menu with drag and drop" : "مرتب کردن برنامه ها در فهرست با کشیدن و رها کردن", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "مرتب کردن نمادهای برنامه از تنظیمات شخصی را فعال کنید. سفارش برای هر کاربر به صورت جداگانه ذخیره می شود. سرپرستان می توانند یک سفارش پیش فرض سفارشی را تعریف کنند. # # # یک سفارش پیش فرض برای همه کاربران جدید تنظیم کنید. \"برو به تنظیمات مدیر> تنظیمات اضافی و نمادها را به ترتیب برنامه بکشید.\" ## از اولین برنامه به عنوان برنامه پیش فرض استفاده کنید. به راحتی می توانید با تغییر پارامتر زیر در پیکربندی / config.php خود ، Nextcloud را به کاربر خود به اولین برنامه به ترتیب شخصی خود هدایت کنید: 'defaultapp' => 'apporder' ، - اکنون کاربران استفاده می شوند. برنامه اول سفارش پیش فرض یا برنامه اول سفارش کاربر.", | |||
"App Order" : "سفارش برنامه", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "یک سفارش پیش فرض برای همه کاربران تنظیم کنید. اگر کاربر سفارش سفارشی تنظیم کرده باشد ، و سفارش پیش فرض اجباری نیست ، این مورد نادیده گرفته می شود.", | |||
"Drag the app icons to change their order." : "نمادهای برنامه را بکشید تا ترتیب آنها تغییر کند.", | |||
"Force the default order for all users:" : "سفارش پیش فرض را برای همه کاربران مجبور کنید:", | |||
"If enabled, users will not be able to set a custom order." : "در صورت فعال بودن ، کاربران قادر به تنظیم سفارش سفارشی نخواهند بود." | |||
}, | |||
"nplurals=2; plural=(n > 1);"); |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Sovellusjärjestys", | |||
"AppOrder" : "Sovellusjärjestys", | |||
"Sort apps in the menu with drag and drop" : "Järjestä sovellukset valikkoon vetämällä ja pudottamalla", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Ota käyttöön toiminto sovelluskuvakkeiden uudelleenjärjestämiseen. Järjestelmänvalvoja voi määrittää oletusjärjestyksen, \nmutta käyttäjät voivat vaihtaa sen itselleen halutessaan\n\n## Määritä oletusjärjestys kaikille uusille käyttäjille\n\nAvaa Asetukset > Ylläpito > Sovellusjärjestys ja vedä sovellukset haluamaasi järjestykseen.\n\n## Käytä ensimmäistä sovellusta oletussovelluksena\n\nAseta Nextcloud ohjaamaan käyttäjä ensimmäiseen sovellukseen henkilökohtaisessa sovellusjärjestyksessä\nvaihtamalla seuraava parametri tiedostossa config/config.php:\n\n 'defaultapp' => 'apporder',\n\nKäyttäjät ohjataan nyt sovellusten oletusjärjestyksen ensimmäisen sovelluksen sijasta käyttäjän määrittämän sovellusjärjestyksen\nensimmäiseen sovellukseen.", | |||
"App Order" : "Sovellusjärjestys", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Määritä sovellusten oletusjärjestys kaikille käyttäjille. Käyttäjät voivat halutessaan määrittää sovellukset itselleen eri järjestykseen.", | |||
"Drag the app icons to change their order." : "Vedä sovellusten kuvakkeita vaihtaaksesi niiden järjestystä.", | |||
"Force the default order for all users:" : "Pakota oletusjärjestys kaikille käyttäjille:", | |||
"If enabled, users will not be able to set a custom order." : "Jos käytössä, käyttäjät eivät voi asettaa omavalintaista järjestystä." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Sovellusjärjestys", | |||
"AppOrder" : "Sovellusjärjestys", | |||
"Sort apps in the menu with drag and drop" : "Järjestä sovellukset valikkoon vetämällä ja pudottamalla", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Ota käyttöön toiminto sovelluskuvakkeiden uudelleenjärjestämiseen. Järjestelmänvalvoja voi määrittää oletusjärjestyksen, \nmutta käyttäjät voivat vaihtaa sen itselleen halutessaan\n\n## Määritä oletusjärjestys kaikille uusille käyttäjille\n\nAvaa Asetukset > Ylläpito > Sovellusjärjestys ja vedä sovellukset haluamaasi järjestykseen.\n\n## Käytä ensimmäistä sovellusta oletussovelluksena\n\nAseta Nextcloud ohjaamaan käyttäjä ensimmäiseen sovellukseen henkilökohtaisessa sovellusjärjestyksessä\nvaihtamalla seuraava parametri tiedostossa config/config.php:\n\n 'defaultapp' => 'apporder',\n\nKäyttäjät ohjataan nyt sovellusten oletusjärjestyksen ensimmäisen sovelluksen sijasta käyttäjän määrittämän sovellusjärjestyksen\nensimmäiseen sovellukseen.", | |||
"App Order" : "Sovellusjärjestys", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Määritä sovellusten oletusjärjestys kaikille käyttäjille. Käyttäjät voivat halutessaan määrittää sovellukset itselleen eri järjestykseen.", | |||
"Drag the app icons to change their order." : "Vedä sovellusten kuvakkeita vaihtaaksesi niiden järjestystä.", | |||
"Force the default order for all users:" : "Pakota oletusjärjestys kaikille käyttäjille:", | |||
"If enabled, users will not be able to set a custom order." : "Jos käytössä, käyttäjät eivät voi asettaa omavalintaista järjestystä." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Ordre des applications", | |||
"AppOrder" : "Ordre des apps", | |||
"Sort apps in the menu with drag and drop" : "Triez les applications dans le menu en les faisant glisser", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Autoriser à trier les icônes des applications dans les paramètres personnels. L'ordre sera sauvegardé pour chaque utilisateur individuellement. Les administrateurs peuvent définir un ordre par défaut.\n\n## Mettre en place un ordre par défaut pour tous les nouveaux utilisateurs\n\nAllez dans Paramètres d'administration > Paramètres supplémentaires et glisser les icônes dans l'ordre voulu.\n\n## Utiliser la première application comme application par défaut\n\nVous pouvez facilement laisser Nextcloud rediriger votre utilisateur vers la première application de leur ordre personnel en changeant le paramètre suivant dans le fichier config/config.php:\n\n 'defaultapp' => 'apporder',\n\nL'utilisateur sera désormais redirigé vers sa première application de l'ordre par défaut ou la première application de son ordre.", | |||
"App Order" : "Ordre des applications", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Définir un ordre par défaut pour tous les utilisateurs. Il sera ignoré si l'utilisateur a défini un ordre personnalisé, et que l'ordre par défaut n'est pas forcé.", | |||
"Drag the app icons to change their order." : "Faites glisser les icônes des applications pour changer leur ordre.", | |||
"Force the default order for all users:" : "Forcer l'ordre par défaut pour tous les utilisateurs :", | |||
"If enabled, users will not be able to set a custom order." : "Si activé, les utilisateurs ne pourront plus sélectionner un ordre personnalisé." | |||
}, | |||
"nplurals=2; plural=(n > 1);"); |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Orde das aplicacións", | |||
"AppOrder" : "AppOrder", | |||
"Sort apps in the menu with drag and drop" : "Ordenar aplicacións no menú arrastrando e soltando", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Activa a ordenación das iconas das aplicacións dende os axustes persoais. A orde\ngardaráse individualmente para cada usuario. Os administradores poden definir\nunha orde personalizada predeterminada\n\n## Estabelecer unha orde predeterminada para todos os usuarios novos\n\nIr aos axustes de administración > Axustes adicionais e arrastrar as iconas na\norde desexada.\n\n## Usar a primeira aplicación como aplicación predeterminada\n\nPode deixar que Nextcloud redireccione o seu usuario á primeira aplicación na orde\npersoal con moita facilidade, só ten que cambiar o seguinte parámetro no ficheiro\nconfig/config.php:\n\n 'defaultapp' => 'apporder',\n\nA partir de agora, os usuarios serán redirixidos cara á primeira aplicación na\norde predeterminada ou cara á primeira aplicación na orde do usuario.", | |||
"App Order" : "Orde das aplicacións", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Estabelece unha orde predeterminado para todos os usuarios. Isto ignorarase se o usuario tiver estabelecida unha orden personalizada e a orde predeterminada non estiver forzada.", | |||
"Drag the app icons to change their order." : "Arrastre as iconas das aplicacións para cambiar a orde.", | |||
"Force the default order for all users:" : "Forzar a orde predeterminada para todos os usuarios:", | |||
"If enabled, users will not be able to set a custom order." : "Se está activado, os usuarios non poderán configurar unha orde personalizada." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "סידור יישומונים", | |||
"AppOrder" : "סידור יישומונים", | |||
"Sort apps in the menu with drag and drop" : "סידור יישומונים בתפריט באמצעות גרירה", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "אפשר מיון של אייקוני האפליקציות מההגדרות האישיות. הסדר תישמר עבור כל משתמש בנפרד. מנהלי המערכת יכולים להגדיר סדר ברירת מחדל מותאם אישית. ## הגדר סדר ברירת מחדל בשביל כל המשתמשים החדשים. \nעבור אל Admin settings>Additional settings, וגרור את הסמלים תחת App order. ## השתמש באפליקציה הראשונה כאפליקציית ברירת מחדל.\nבקלות אתה יכול לאפשר ל- Nextcloud להפנות את המשתמש שלך לאפליקציה הראשונה בסדר האישי שלו על ידי שינוי הפרמטר הבא ב- config / config.php שלך: \ndefault 'defaultapp' => 'apporder', now.\nהמשתמשים יופנו עכשיו אל האפליקציה הראשונה של הסדר ברירת המחדל, או לאפליקציה הראשונה של הסדר של המשתמש.", | |||
"App Order" : "סידור יישומונים", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "הגדרת סדר בררת המחדל לכל המשתמשים. ההגדרה הזאת לא תילקח בחשבון אם המשתמש הגדיר סדר משלו ולא נאכף סדר כבררת מחדל.", | |||
"Drag the app icons to change their order." : "יש לגרור את סמלי היישומונים כדי לשנות את הסדר שלהם.", | |||
"Force the default order for all users:" : "לאלץ את סדר בררת המחדל לכל המשתמשים:", | |||
"If enabled, users will not be able to set a custom order." : "אם האפשרות פעילה, המשתמשים לא יוכלו להחליף את הסדר." | |||
}, | |||
"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;"); |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Redoslijed aplikacija", | |||
"AppOrder" : "Redoslijed aplikacija", | |||
"Sort apps in the menu with drag and drop" : "Sortirajte aplikacije u izborniku povlačenjem i ispuštanjem", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Omogućite sortiranje ikona aplikacija iz osobnih postavki. Redoslijed će biti spremljen za svaku\npojedinačno. Administratori mogu definirati zadani redoslijed.\n\n## Postavite zadani redoslijed za sve nove korisnike\n\nIdite na Postavke administratora> Dodatne postavke i povucite ikone pod redoslijedom aplikacije.\n\n## Koristite prvu aplikaciju kao zadanu aplikaciju\n\nMožete pustiti neka Nextcloud preusmjeri korisnika na prvu aplikaciju njihovog\nosobnog redoslijeda promjenom sljedećeg parametra u vašem config / config.php:\n\n'defaultapp' => 'apporder',\n\nKorisnici će biti preusmjereni na prvu aplikaciju zadanog redoslijeda ili na\nprvu aplikaciju korisnika.", | |||
"App Order" : "Redoslijed aplikacija", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Postavite zadani poredak za sve korisnike. On će biti zanemaren ako je korisnik postavio prilagođeni poredak i zadani poredak nije nametnut.", | |||
"Drag the app icons to change their order." : "Povucite ikone aplikacija za promjenu redoslijeda.", | |||
"Force the default order for all users:" : "Nametnite zadani poredak za sve korisnike:", | |||
"If enabled, users will not be able to set a custom order." : "Ako je omogućeno, korisnici neće moći postaviti prilagođeni poredak." | |||
},"pluralForm" :"nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;" | |||
} |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Alkalmazássorrend", | |||
"AppOrder" : "Alkalmazássorrend", | |||
"Sort apps in the menu with drag and drop" : "Rendezze az alkalmazásait fogd és vidd módszerrel", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Lehetővé teszi az alkalmazásikonok rendezését a személyes beállításokban.\nA sorrend felhasználóként külön lesz mentve.\nAz adminisztrátorok egyéni alapértelmezett sorrendet adhatnak meg.\n\n## Alapértelmezett sorrend megadása az összes felhasználónak\n\nUgorjon az Adminisztrációs beállítások > További beállításokhoz, és húzza az ikonokat az alkalmazássorrend alatt.\n\n## Az első alkalmazás alapértelmezettként használata\n\nKönnyen beállítható, hogy a Nextcloud átirányítsa a felhasználót az\nelső alkalmazásra a saját sorrendjében, a következő paraméter\nbeállításával a config/config.php fájlban:\n\n 'defaultapp' => 'apporder',\n\nA felhasználók most már átirányításra kerülnek az alapértelmezett\nsorrend első alkalmazására, vagy az egyéni sorrendjük első\nalkalmazására.", | |||
"App Order" : "Alkalmazássorrend", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Alapértelmezett sorrend beállítása az összes felhasználónak. Ez figyelmen kívül lesz hagyva, ha a felhasználó egyéni sorrendet állít be, az alapértelmezett sorrend nincs kikényszerítve.", | |||
"Drag the app icons to change their order." : "Húzza az alkalmazásikonokat a sorrendjük megváltoztatásához.", | |||
"Force the default order for all users:" : "Az alapértelmezett sorrend kikényszerítése az összes felhasználónál:", | |||
"If enabled, users will not be able to set a custom order." : "Ha engedélyezett, akkor a felhasználók nem állíthatnak be egyéni sorrendet." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Alkalmazássorrend", | |||
"AppOrder" : "Alkalmazássorrend", | |||
"Sort apps in the menu with drag and drop" : "Rendezze az alkalmazásait fogd és vidd módszerrel", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Lehetővé teszi az alkalmazásikonok rendezését a személyes beállításokban.\nA sorrend felhasználóként külön lesz mentve.\nAz adminisztrátorok egyéni alapértelmezett sorrendet adhatnak meg.\n\n## Alapértelmezett sorrend megadása az összes felhasználónak\n\nUgorjon az Adminisztrációs beállítások > További beállításokhoz, és húzza az ikonokat az alkalmazássorrend alatt.\n\n## Az első alkalmazás alapértelmezettként használata\n\nKönnyen beállítható, hogy a Nextcloud átirányítsa a felhasználót az\nelső alkalmazásra a saját sorrendjében, a következő paraméter\nbeállításával a config/config.php fájlban:\n\n 'defaultapp' => 'apporder',\n\nA felhasználók most már átirányításra kerülnek az alapértelmezett\nsorrend első alkalmazására, vagy az egyéni sorrendjük első\nalkalmazására.", | |||
"App Order" : "Alkalmazássorrend", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Alapértelmezett sorrend beállítása az összes felhasználónak. Ez figyelmen kívül lesz hagyva, ha a felhasználó egyéni sorrendet állít be, az alapértelmezett sorrend nincs kikényszerítve.", | |||
"Drag the app icons to change their order." : "Húzza az alkalmazásikonokat a sorrendjük megváltoztatásához.", | |||
"Force the default order for all users:" : "Az alapértelmezett sorrend kikényszerítése az összes felhasználónál:", | |||
"If enabled, users will not be able to set a custom order." : "Ha engedélyezett, akkor a felhasználók nem állíthatnak be egyéni sorrendet." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Urutan Aplikasi", | |||
"AppOrder" : "UrutanAplikasi", | |||
"Sort apps in the menu with drag and drop" : "Mengurutkan aplikasi pada menu secara tarik lepas", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Mengaktifkan mengurutkan ikon aplikasi melalui setelan personal. Urutan akan tersimpan pada tiap pengguna.\nAdministrator dapat mendefinisikan pengaturan urutan bawaan.\n\n## Atur setelan bawaan bagi semua pengguna\n\nMelalui setelan **Administrasi** > **Urutan aplikasi**, atur urutan dengan cara tarik lepas ikon pada daftar.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order.", | |||
"App Order" : "Urutan Aplikasi", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Atur setelan umum bagi semua pengguna. Ini akan diabaikan, jika pengguna telah menyetel urutan khusus, maka setelan umum tidak digunakan.", | |||
"Drag the app icons to change their order." : "Tarik ikon aplikasi untuk mengubah urutan.", | |||
"Force the default order for all users:" : "Semua pengguna wajib menggunakan urutan umum.", | |||
"If enabled, users will not be able to set a custom order." : "Jika diaktifkan, pengguna tidak dapat menyetel urutan khusus." | |||
},"pluralForm" :"nplurals=1; plural=0;" | |||
} |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Ordine applicazioni", | |||
"AppOrder" : "AppOrder", | |||
"Sort apps in the menu with drag and drop" : "Ordina le applicazioni nel menu con il trascinamento e rilascio", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Consente di ordinare le icone delle applicazioni dalle impostazioni personali. L'ordine sarà salvato per ogni\nsingolo utente. Gli amministratori possono definire un ordine predefinito personalizzato.\n\n## Imposta un ordine predefinito per i nuovi utenti\n\nVai nelle impostazioni di amministrazione > Impostazioni aggiuntive e trascina le icone sotto Ordine applicazione.\n\n## Utilizza la prima applicazione come applicazione predefinita\n\nPuoi semplicemente lasciare che Nextcloud rediriga i tuoi utenti alla prima applicazione nel loro ordine personale modificando il parametro seguente nel file config/config.php:\n\n 'defaultapp' => 'apporder',\n\nGli utenti saranno quindi rediretti alla prima applicazione dell'ordine predefinito o alla prima applicazione dell'ordine dell'utente.", | |||
"App Order" : "Ordine applicazioni", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Imposta un ordine predefinito per tutti gli utenti. Sarà ignorato se l'utente ha configurato un ordine personalizzato e l'ordine predefinito non è forzato.", | |||
"Drag the app icons to change their order." : "Trascina le icone delle applicazioni per cambiare il loro ordine.", | |||
"Force the default order for all users:" : "Forza l'ordine predefinito per tutti gli utenti:", | |||
"If enabled, users will not be able to set a custom order." : "Se abilitata, gli utenti non potranno impostare un ordine personalizzato." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Ordine applicazioni", | |||
"AppOrder" : "AppOrder", | |||
"Sort apps in the menu with drag and drop" : "Ordina le applicazioni nel menu con il trascinamento e rilascio", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Consente di ordinare le icone delle applicazioni dalle impostazioni personali. L'ordine sarà salvato per ogni\nsingolo utente. Gli amministratori possono definire un ordine predefinito personalizzato.\n\n## Imposta un ordine predefinito per i nuovi utenti\n\nVai nelle impostazioni di amministrazione > Impostazioni aggiuntive e trascina le icone sotto Ordine applicazione.\n\n## Utilizza la prima applicazione come applicazione predefinita\n\nPuoi semplicemente lasciare che Nextcloud rediriga i tuoi utenti alla prima applicazione nel loro ordine personale modificando il parametro seguente nel file config/config.php:\n\n 'defaultapp' => 'apporder',\n\nGli utenti saranno quindi rediretti alla prima applicazione dell'ordine predefinito o alla prima applicazione dell'ordine dell'utente.", | |||
"App Order" : "Ordine applicazioni", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Imposta un ordine predefinito per tutti gli utenti. Sarà ignorato se l'utente ha configurato un ordine personalizzato e l'ordine predefinito non è forzato.", | |||
"Drag the app icons to change their order." : "Trascina le icone delle applicazioni per cambiare il loro ordine.", | |||
"Force the default order for all users:" : "Forza l'ordine predefinito per tutti gli utenti:", | |||
"If enabled, users will not be able to set a custom order." : "Se abilitata, gli utenti non potranno impostare un ordine personalizzato." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,6 +0,0 @@ | |||
{ "translations": { | |||
"AppOrder" : "AppOrder", | |||
"App Order" : "აპლიკაციების განლაგება", | |||
"Drag the app icons to change their order." : "გადაიტანეთ აპლიკაციის პიქტოგრამები მათი გალაგების შესაცვლელად." | |||
},"pluralForm" :"nplurals=2; plural=(n!=1);" | |||
} |
@ -1,9 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "앱 순서", | |||
"AppOrder" : "앱 순서", | |||
"Sort apps in the menu with drag and drop" : "드래그 앤 드롭으로 메뉴에 있는 앱 정렬", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "개인 설정에서 앱 아이콘을 정렬하는 것을 허용합니다. 개별 사용자별로 정렬 순서를\n저장합니다. 관리자는 기본 사용자 정의 순서를 지정할 수 있습니다.\n\n## 모든 새 사용자의 기본 순서 지정\n\n관리자 설정 > 추가 설정으로 이동하여 앱 순서 메뉴 아래에 있는 아이콘을 드래그하십시오.\n\n## 첫 앱을 기본 앱으로 사용\n\nconfig/config.php 파일의 다음 인자를 수정하여 Nextcloud에서 사용자를\n첫 앱으로 안내할 수 있습니다:\n\n 'defaultapp' => 'apporder',\n\n사용자는 자동으로 기본 순서의 첫 앱이나 사용자 정의 순서의 첫 앱으로\n안내됩니다.", | |||
"App Order" : "앱 순서", | |||
"Drag the app icons to change their order." : "앱 아이콘을 드래그해서 순서를 변경할 수 있습니다." | |||
},"pluralForm" :"nplurals=1; plural=0;" | |||
} |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Programėlių tvarka", | |||
"AppOrder" : "Programėlių išdėstymo tvarka", | |||
"Sort apps in the menu with drag and drop" : "Velkant rikiuoti meniu esančias programėles", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Įjunkite galimybę rūšiuoti programos ikonas asmeniniuose nustatymuose. Kiekvienas naudotojas galės išsisaugoti individualią \nikonų išdėstymo tvarką. Administratorius gali nustatyti numatytąją tvarką.\n\n## Nustatyti numatytąją išdėstymo tvarką visiems naujiems naudotojams\n\nPasirinkite Administratoriaus nustatymai > Papildomi nustatymai ir tempdami išrikiuokite programų tvarką.\n\n## Naudokite pirmąją programą kaip numatytąją \n\nJūs galite lengvai leisti Nextcloud programai nukreipti Jūsų naudotoją į pirmąją programą, pakeisdami sekančius parametrus config/config.php faile:\n \n'defaultapp' => 'apporder',\n\nNaudotojas bus nukreiptas į pirmąją programą, pagal numatytą arba personalinę naudotojo tvarką.", | |||
"App Order" : "Programėlių tvarka", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Nustatyti numatytąją tvarką visiems naudotojams. Jos bus nepaisoma, jei naudotojas yra nusistatęs pasirinktinę tvarką, o numatytoji tvarka nėra priverstinė.", | |||
"Drag the app icons to change their order." : "Norėdami keisti programėlių tvarką, vilkite jų piktogramas.", | |||
"Force the default order for all users:" : "Priverstinai taikyti numatytąją tvarką visiems naudotojams:", | |||
"If enabled, users will not be able to set a custom order." : "Jei įjungta, naudotojai negalės nusistatyti pasirinktinės tvarkos." | |||
}, | |||
"nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);"); |
@ -1,11 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Lietotņu izkārtojums", | |||
"AppOrder" : "Lietotņu izkārtojums", | |||
"Sort apps in the menu with drag and drop" : "Sakārto lietotnes lietotņu logā pārvelkot un nometot", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Iespējot lietotņu ikonu sakārtošanu no personīgiem iestatījumiem. Šis izkārtojums tiks saglabāta katram\nlietotājam induviduāli. Administratori var definēt specifisku noklusējuma izkārtojumu.\n\n## Uzstādīt noklusējuma izkārtojumu priekš visiem jauniem lietotājiem\n\nAizej uz Administrēšanas iestatījumiem > Papildus iestatījumi un pārvelc ikonas zem Lietotnes izkārtojums.\n\n## Uzstādīt pirmo lietotni kā noklusējuma lietotni\n\nTu vari vienkārši ļaut Nextcloud novirzīt lietotāju uz pirmo lietotni viņu\npersonīgajā izkārtojumā pārmainot sekojošo parametru savā config/config.php:\n\n 'defaultapp' => 'apporder'\n\nLietotāji nu tiks novirzīti uz pirmo lietotni savā noklusējuma izkārtojumā vai uz\npirmo lietotni lietotāja izkārtojumā.", | |||
"App Order" : "Lietotņu izkārtojums", | |||
"Drag the app icons to change their order." : "Pārvelc lietotņu ikonas, lai mainītu to izkārtojumu." | |||
}, | |||
"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);"); |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "App-rekkefølge", | |||
"AppOrder" : "App-rekkefølge", | |||
"Sort apps in the menu with drag and drop" : "Sorter apper i menyen med dra og slipp", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Aktiver sortering av app-ikon fra personlige innstillinger. Rekkefølge blir lagret for hver bruker. Administrator kan tilpasse standard rekkefølge.\n\n## Definer standard rekkefølge for alle nye brukere\n\nÅpne administrator innstillinger > Ekstra innstillinger og dra ikoner i ønsket rekkefølge under \"App-rekkefølge\".\n\n## Bruk første app som standard app\n\nDu kan la Nextcloud redirigere bruker til appen som er først ved å endre følgende innstilling i config/config.php:\n\n 'defaultapp' => 'apporder',\n\nBruker vil bli redirigert til den appen som er først i app-menyen.", | |||
"App Order" : "App-rekkefølge", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Angi en standardrekkefølge for alle brukere. Dette vil bli ignorert hvis brukeren har satt opp en tilpasset ordre, og standardrekkefølgen ikke blir tvunget.", | |||
"Drag the app icons to change their order." : "Dra og slipp app ikonene for å endre rekkefølgen.", | |||
"Force the default order for all users:" : "Tving standardrekkefølgen for alle brukere:", | |||
"If enabled, users will not be able to set a custom order." : "Hvis aktivert, vil ikke brukere kunne angi en tilpasset rekkefølge." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "App Volgorde", | |||
"AppOrder" : "AppVolgorde", | |||
"Sort apps in the menu with drag and drop" : "Sorteert apps in het menu met slepen", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Maakt sorteren van de app pictogrammen mogelijk via de persoonlijke instellingen. De volgorde blijft voor elke afzonderlijke gebruikers bewaard. Beheerders kunnen zelf een standaardvolgorde instellen.\n\n## Instellen standaardvolgorde voor alle nieuwe gebruikers\n\nGa naar Beheer instellingen > Aanvullende instellingen en sleep de pictogrammen onder App volgorde.\n\n## Gebruik eerste app als standaard app\n\nJe kunt Nextcloud je gebruikers makkelijk doorsturen naar de eerste app in hun persoonlijke volgorde dooe de volgende parameter in je config/config.php:\n\n 'defaultapp' => 'apporder',\n\nGebruikers worden nu doorgeleid naar de eerste app van de standaardvolgorde of naar de eerste app in hun eigen volgorde.", | |||
"App Order" : "App Volgorde", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Stel een standaard volgorde in voor alle gebruikers. Dit zal genegeerd worden indien de gebruiker een aangepaste volgorde heeft ingesteld en de standaard volgorde is niet geforceerd.", | |||
"Drag the app icons to change their order." : "Sleep de app iconen om hun volgorde te wijzigen.", | |||
"Force the default order for all users:" : "Forceer de standaard volgorde voor alle gebruikers:", | |||
"If enabled, users will not be able to set a custom order." : "Als dit ingesteld is, kunnen gebruikers niet meer een aangepaste volgorde instellen." | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,9 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "App-rekkefølgje", | |||
"AppOrder" : "AppRekkjefølgje", | |||
"Sort apps in the menu with drag and drop" : "Sorter appar i menyen med dra og slepp", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Slå på sortering av app-ikona frå dei personlege innstillingane. Rekkefølgja vil verta lagra\nfor kvar brukar individuelt. Administratorar kan laga ei standard-rekkefølgje.\n\n## Vel ei standard rekkefølgje for nye brukarar\n\nGå til Administrasjon > Fleire innstillingar og dra ikona under App-rekkefølgje.\n\n## Bruk fyrste app som standard-app\n\nDu kan enkelt la Nextcloud styra brukaren til den fyrste appen i deira personlege rekkefølgje ved å endra denne parameteren i config/config.php:\n\n 'defaultapp' => 'apporder',\n\nBrukarane vil no verta styrte til den fyrste appen i standardrekkefølgja eller den\nfyrste appen i brukaren si rekkefølgje.", | |||
"App Order" : "App-rekkjefølgje", | |||
"Drag the app icons to change their order." : "Dra applikasjons ikona for å endre rekkjefølgja" | |||
},"pluralForm" :"nplurals=2; plural=(n != 1);" | |||
} |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Kolejność aplikacji", | |||
"AppOrder" : "Kolejność aplikacji", | |||
"Sort apps in the menu with drag and drop" : "Ustaw kolejność wyświetlania aplikacji metodą przeciągnij i upuść", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Włącz sortowanie ikon aplikacji w ustawieniach osobistych. Kolejność ikon zostanie zachowana dla każdego\nużytkownika indywidualnie. Administratorzy mogą zdefiniować domyślną kolejność.\n\n## Ustaw domyślną kolejność dla wszystkich nowych użytkowników\n\nPrzejdź do Ustawienia > Administracja > Ustawienia dodatkowe i przeciągnij ikony aplikacji aby zmienić ich kolejność\n\n## Użyj pierwszej aplikacji jako aplikacji domyślnej\n\nMożesz pozwolić Nextcloud na przekierowanie użytkownika do pierwszej aplikacji w\nwybranej przez niego kolejności, zmieniając następujący parametr w config / config.php:\n\n 'defaultapp' => 'apporder',\n\nUżytkownicy zostaną teraz przekierowani do pierwszej aplikacji z kolejności domyślnej lub do pierwszej aplikacji wybranej przez użytkownika.", | |||
"App Order" : "Kolejność aplikacji", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Ustaw domyślną kolejność aplikacji dla wszystkich użytkowników. Opcja będzie zignorowana jeśli użytkownik ustali własną kolejność, chyba że kolejność domyślna jest wymuszona.", | |||
"Drag the app icons to change their order." : "Przeciągnij ikony aplikacji, aby zmienić ich kolejność.", | |||
"Force the default order for all users:" : "Wymuś domyślną kolejność dla wszystkich użytkowników:", | |||
"If enabled, users will not be able to set a custom order." : "Jeśli ta opcja jest włączona, użytkownicy nie będą mogli ustawić własnej kolejności." | |||
},"pluralForm" :"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);" | |||
} |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Classificar aplicativos", | |||
"AppOrder" : "AppOrder", | |||
"Sort apps in the menu with drag and drop" : "Classificar os aplicativos no menu com arrastar e soltar", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Ative a classificação dos ícones de aplicativos nas configurações. Isso será salvo para cada\nusuário individualmente. Administradores podem definir uma ordem padrão personalizada.\n\n## Definir uma ordem padrão para todos os novos usuários\n\nVá em Configurações de Administrador > Configurações Adicionais e arraste os ícones em Ordem do aplicativo.\n\n## Use o primeiro aplicativo como aplicativo padrão\n\nVocê pode fazer o Nextcloud redirecionar o usuário para o primeiro aplicativo da sua\nordem pessoal, alterando o seguinte parâmetro no seu config/config.php:\n\n 'defaultapp' => 'apporder',\n\nOs usuários agora serão redirecionados para o primeiro aplicativo padrão ou\npara o primeiro aplicativo na ordem do usuário.", | |||
"App Order" : "Pedido de Aplicativo", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Defina um pedido padrão para todos os usuários. Isso será ignorado se o usuário tiver configurado um pedido personalizado e o pedido padrão não forçado.", | |||
"Drag the app icons to change their order." : "Arraste os ícones dos aplicativos para mudar a ordem.", | |||
"Force the default order for all users:" : "Forçar o pedido padrão para todos os usuários:", | |||
"If enabled, users will not be able to set a custom order." : "Se ativado, os usuários não poderão fazer um pedido personalizado." | |||
},"pluralForm" :"nplurals=2; plural=(n > 1);" | |||
} |
@ -1,11 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Ordenação da aplicação", | |||
"AppOrder" : "OrdenaçãoAplicação", | |||
"Sort apps in the menu with drag and drop" : "Ordene as aplicações no menu com arrastar e largar", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Ative a ordenação dos ícones de aplicação nas definições pessoais. A ordenação será guardada individualmente\npara cada utilizador. Os administradores podem definir uma ordenação predefinida personalizada.\n\n## Defina uma ordenação predefinida para todos os novos utilizadores\n\nVás às Definições de Administrador > Definições adicionais e arraste os ícones por debaixo da ordenação da Aplicação.\n\n## Use a primeira aplicação como a aplicação predefinida \n\nPode facilmente permitir que o Nextcloud redirecione o seu utilizador para a \nprimeira aplicação na sua ordenação pessoal, alterando o seguinte \nparâmetro no seu\nconfig/config.php:\n\n 'defaultapp' => 'apporder',\n\nOs utilizadores serão agora redirecionados para a primeira aplicação da ordenação predefinida ou para \na primeira aplicação da ordenação do utilizador.", | |||
"App Order" : "Ordenação de Aplicação", | |||
"Drag the app icons to change their order." : "Arraste os ícones da aplicação para alterar a sua ordem." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Порядок приложений", | |||
"AppOrder" : "Порядок приложений", | |||
"Sort apps in the menu with drag and drop" : "Сортируйте приложения с помощью перетаскивания", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Включите сортировку иконок приложений в личных настройках. Заказ будет сохранен для каждого пользователя отдельно. Администраторы могут определять пользовательский список по умолчанию. ## Установить список по умолчанию для всех новых пользователей. Перейти к Настройки администратора > Дополнительные параметры и перетащить значки в разделе «Список приложений». ## Использовать первое приложение в качестве приложения по умолчанию Вы можете легко позволить Nextcloud перенаправить пользователя на первое приложение в своем личном списке, изменив следующий параметр в вашем config/config.php: 'defaultapp' => 'apporder', Теперь пользователи будут перенаправлены на первое приложение по умолчанию или в первое приложение в пользовательском списке.", | |||
"App Order" : "Порядок приложений", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Задаёт для всех пользователей порядок приложений по умолчанию. Не распространяется на пользователей, которые самостоятельно задали порядок приложений при отключённом параметре «принудительно использовать заданный порядок приложений».", | |||
"Drag the app icons to change their order." : "Перемещайте значки приложений для изменения порядка их следования.", | |||
"Force the default order for all users:" : "Принудительно использовать заданный порядок приложений для всех пользователей:", | |||
"If enabled, users will not be able to set a custom order." : "При включении этого параметра пользователи не смогут задавать свой порядок приложений." | |||
}, | |||
"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"); |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Zoradenie aplikácií", | |||
"AppOrder" : "AppOrder", | |||
"Sort apps in the menu with drag and drop" : "Poradie aplikácií v ponuke je možné meniť potiahnutím", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Umožňuje zoradenie ikon a aplikácií prostredníctvom osobných nastavení. Poradie sa uloží\npre každého používateľa zvlášť. Správcovia môžu určiť predvolené poradie ikon.\n\n## Nastavenie predvoleného poradia ikon pre nových používateľov\n\nChoďte do Nastavenia > Správa > Ďalšie nastavenia a v sekcii Poradie aplikácií popreťahujte ikony do vami zvoleného poradia.\n\n## Použitie prvej aplikácie ako predvolené\n\nPoužívateľa môžete jednoducho presmerovať na prvú aplikáciu v ich poradí tým, že zmeníte nasledujúci parameter v súbore config/config.php:\n\n'defaultapp' => 'apporder',\n\nPoužívatelia teraz budú automaticky presmerovaní na prvú aplikáciu predvoleného resp. im nastaveného poradia.", | |||
"App Order" : "Zoradenie aplikácií", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Nastaviť predvolenú objednávku pre všetkých používateľov. Toto bude ignorované, ak má užívateľ nastavenú vlastnú objednávku a predvolená objednávka nie je vynútená.", | |||
"Drag the app icons to change their order." : "Presuňte ikony aplikácií a zmeňte ich poradie.", | |||
"Force the default order for all users:" : "Vynútiť predvolenú objednávku pre všetkých používateľov:", | |||
"If enabled, users will not be able to set a custom order." : "Ak je povolená, používatelia nebudú môcť nastaviť vlastnú objednávku." | |||
},"pluralForm" :"nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);" | |||
} |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Razvrščevalnik menija", | |||
"AppOrder" : "Razvrščevalnik AppOrder", | |||
"Sort apps in the menu with drag and drop" : "Enostavno razvrščanje in urejanje prikaza programov v menijski vrstici", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Program omogoča razvrščanje ikon v menijski vrstici, možnosti pa so zbrane med osebnimi nastavitvami. Vrstni red se shrani za vsakega uporabnika posebej,\nskrbniki pa lahko določajo poseben vrstni red.\n\n## Nastavitev privzetega vrstnegar eda za vse uporabnike\n\nMed skrbniškimi nastavitvami > Dodante nastavitve je na voljo seznam, ki ga je mogoče razvrstiti in posamezne predmete onemogočiti.\n\n## Uporabi prvi program kot privzeti\n\nPreusmerjanje uporabnikov na prvi program v razvrstitvi po meri je mogoče določiti s spreminjanjem parametrov v datoteki config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUporabniko bodo preusmerjeni na prvi program v privzeti razvistitvi\noziroma prvi program v uporabniški razvrstitvi.", | |||
"App Order" : "Razvrščevalnik App Order", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Nastavi privzeto razvrstitev za vse uporabnike. Spremembe se pri uporabnikih ne izrazijo, če si menije sami preuredijo po meri oziroma če razvrstitev ni vsiljena.", | |||
"Drag the app icons to change their order." : "S potegom predmeta je mogoče spreminjati vrstni red programov v menijski vrstici.", | |||
"Force the default order for all users:" : "Vsili privzeti vrstni red za vse uporabnike:", | |||
"If enabled, users will not be able to set a custom order." : "Izbrana možnost onemogoča uporabniku prilagajanje razvrstitve po meri." | |||
},"pluralForm" :"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);" | |||
} |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Appordning", | |||
"AppOrder" : "AppOrder", | |||
"Sort apps in the menu with drag and drop" : "Sortera appar i menyn genom att dra och släppa", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Aktivera sortering av appikoner från de personliga inställningarna. Ordern sparas för varje\nanvändaren individuellt. Administratörer kan definiera en anpassad standardordning.\n\n## Ange en standardorder för alla nya användare\n\nGå till administratörsinställningarna > ytterligare inställningar och dra ikonerna under apporder.\n\n## Använd första appen som standard app\n\nDu kan enkelt låta Nextcloud omdirigera din användare till den första appen i deras\npersonlig order genom att ändra följande parameter i din config/config.php:\n\n 'defaultapp' => 'apporder',\n\nAnvändare kommer nu att omdirigeras till den första appen i standardordern eller till\nförsta app av användarordern.", | |||
"App Order" : "Appordning", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Välj en standardsortering för alla användare. Om användaren valt en annan sortering kommer standardvalet att ignoreras.", | |||
"Drag the app icons to change their order." : "Dra appikonerna för att ändra deras ordning.", | |||
"Force the default order for all users:" : "Bestäm standardsortering för alla användare:", | |||
"If enabled, users will not be able to set a custom order." : "Om aktiverat, kommer användarna inte att kunna välja egen sortering." | |||
}, | |||
"nplurals=2; plural=(n != 1);"); |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Uygulama sıralaması", | |||
"AppOrder" : "UygulamaSıralaması", | |||
"Sort apps in the menu with drag and drop" : "Menüdeki uygulamaların sıralamasını sürükleyip bırakarak değiştirir", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Uygulama simgelerinin kişisel tercihe göre sıralanabilmesini sağlar. Sıralama her kullanıcıya \nözel olarak kaydedilir. Yöneticiler özel bir sıralamayı varsayılan olarak atayabilir.\n\n## Tüm yeni kullanıcılar için varsayılan sıralamayı ayarlamak\n\nYönetici ayarları > Ek ayarlar bölümüne giderek Uygulama sıralaması altındaki simgeleri\nsürükleyip bırakın.\n\n## İlk uygulamayı varsayılan uygulama olarak kullanmak\n\nconfig/config.php dosyasında aşağıdaki ayarı yaparak kullanıcıların uygulama listesindeki ilk\nuygulamanın varsayılan olarak açılması sağlanabilir:\n\n 'defaultapp' => 'apporder',\n\nBöylece kullanıcılar için varsayılan sıralamadaki ilk uygulama yerine tercih ettikleri \nsıralamadaki ilk uygulama açılır.", | |||
"App Order" : "Uygulama Sıralaması", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Tüm kullanıcılar için geçerli olacak varsayılan sıralamayı ayarlayın. Kullanıcı özel bir sıralama seçtiyse bu seçenek yok sayılır ve varsayılan sıralama uygulanmaz.", | |||
"Drag the app icons to change their order." : "Simgeleri sürükleyerek uygulamaları sıralayabilirsiniz.", | |||
"Force the default order for all users:" : "Tüm kullanıcılara uygulanacak varsayılan sıralama:", | |||
"If enabled, users will not be able to set a custom order." : "Bu seçenek etkinleştirildiğinde, kullanıcılar özel bir sıralama uygulayamaz." | |||
}, | |||
"nplurals=2; plural=(n > 1);"); |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Uygulama sıralaması", | |||
"AppOrder" : "UygulamaSıralaması", | |||
"Sort apps in the menu with drag and drop" : "Menüdeki uygulamaların sıralamasını sürükleyip bırakarak değiştirir", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Uygulama simgelerinin kişisel tercihe göre sıralanabilmesini sağlar. Sıralama her kullanıcıya \nözel olarak kaydedilir. Yöneticiler özel bir sıralamayı varsayılan olarak atayabilir.\n\n## Tüm yeni kullanıcılar için varsayılan sıralamayı ayarlamak\n\nYönetici ayarları > Ek ayarlar bölümüne giderek Uygulama sıralaması altındaki simgeleri\nsürükleyip bırakın.\n\n## İlk uygulamayı varsayılan uygulama olarak kullanmak\n\nconfig/config.php dosyasında aşağıdaki ayarı yaparak kullanıcıların uygulama listesindeki ilk\nuygulamanın varsayılan olarak açılması sağlanabilir:\n\n 'defaultapp' => 'apporder',\n\nBöylece kullanıcılar için varsayılan sıralamadaki ilk uygulama yerine tercih ettikleri \nsıralamadaki ilk uygulama açılır.", | |||
"App Order" : "Uygulama Sıralaması", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Tüm kullanıcılar için geçerli olacak varsayılan sıralamayı ayarlayın. Kullanıcı özel bir sıralama seçtiyse bu seçenek yok sayılır ve varsayılan sıralama uygulanmaz.", | |||
"Drag the app icons to change their order." : "Simgeleri sürükleyerek uygulamaları sıralayabilirsiniz.", | |||
"Force the default order for all users:" : "Tüm kullanıcılara uygulanacak varsayılan sıralama:", | |||
"If enabled, users will not be able to set a custom order." : "Bu seçenek etkinleştirildiğinde, kullanıcılar özel bir sıralama uygulayamaz." | |||
},"pluralForm" :"nplurals=2; plural=(n > 1);" | |||
} |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "Порядок застосунків", | |||
"AppOrder" : "Перелік застосунків", | |||
"Sort apps in the menu with drag and drop" : "Впорядкування застосунків у меню за допомогою перетягування елементів", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Дозволяє сортувати значки застосунків у персональних налаштуваннях. Порядок збурігається окремо для кожного користувача. Адміністратор може налаштувати власний початковий порядок.\n\n## Налаштувати початковий порядок для всіх нових користувачів\n\nПерейдіть у Налаштування адміністратора (Admin settings) > Додаткові налаштування (Additional settings) і перетянгіть значки у бажаному порядку.\n\n## Використовувати перший застосунок як початковий\n\nВи можете дозволити Nextcloud перенаправляти користувачів на перший застосунок у їхніх налаштуваннях за допомогою насткпного параметре у вашому файоі конфігурації config/config.php:\n\n 'defaultapp' => 'apporder',\n\nТепер користувачі будуть перенаправлятися одразу після входу на перший застосунок у їхніх налаштуваннях.", | |||
"App Order" : "Впорядкування застосунків", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Встановіть типовий порядок для усіх користувачів. Це не буде застосовуватися, якщо користувач визначив власний порядок розташування елементів, при цьому типовий порядок не увімкнено.", | |||
"Drag the app icons to change their order." : "Потягніть за іконку застосунку для зміни його позиції в переліку.", | |||
"Force the default order for all users:" : "Застосувати типовий порядок для всіх користувачів:", | |||
"If enabled, users will not be able to set a custom order." : "Якщо увімкнено, користувачі не зможуть визначати власний порядок." | |||
},"pluralForm" :"nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);" | |||
} |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "Thứ tự ứng dụng", | |||
"AppOrder" : "Thứ-tự.Ứng-dụng", | |||
"Sort apps in the menu with drag and drop" : "Sắp xếp các ứng dụng trong bảng chọn bằng cách kéo và thả", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "Bật khả năng sắp xếp các biểu tượng ứng dụng từ các thiết lập cá nhân. Thứ tự sẽ được lưu lại mỗi người dùng riêng biệt.\nCác quản trị viên có thể định dạng một thiết lập thứ tự mặc định.\n\n##Đặt một thiết lập thứ tự mặc địnhcho tất cả các người dùng.\n\nĐi đến các Thiết lập Quản trị viên > các Thiết lập Bổ sung và kéo các biểu tượng dưới danh sách Thứ tự Ứng dụng.\n\n##Sử dụng ứng đụng đầu tiên như là ứng dụng mặc định\n\nBạn có thể dễ dàng khiến Nextcloud điều hướng tự động người dùng của bạn đến ứng dụng đầu tiên trong thứ tự cá nhân của họ bằng cách thay đổi tham số dưới đây trong tệp config/config.php:\n\n 'defaultapp' => 'apporder',\n\nNgười dùng bây giờ sẽ được tái điều hướng đến ứng dụng đầu tiên của thứ tự mặc định hoặc đến ứng dụng đầu tiên của thứ tự tùy chỉnh riêng của người dùng. ", | |||
"App Order" : "Thứ tự ứng dụng", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "Đặt một thứ tự mặc định cho tất cả các người dùng. Điều này có thể bị bỏ qua, nếu một người dùng đã thiết lập một tùy chỉnh thứ tự riêng, và thứ tự mặc định không bị ép buộc thực thi. ", | |||
"Drag the app icons to change their order." : "Kéo biểu tượng ứng dụng và thay đổi thứ tự của nó.", | |||
"Force the default order for all users:" : "Ép buộc thực thi thứ tự mặc định cho tất cả các người dùng:", | |||
"If enabled, users will not be able to set a custom order." : "Nếu được kích hoạt, người dùng sẽ không thể đặt một tùy chỉnh thứ tự riêng." | |||
}, | |||
"nplurals=1; plural=0;"); |
@ -1,12 +0,0 @@ | |||
{ "translations": { | |||
"App order" : "应用顺序", | |||
"AppOrder" : "应用顺序", | |||
"Sort apps in the menu with drag and drop" : "在菜单上拖拽调整应用排序", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "在个人设置中启用应用图标排序。排列顺序会为每个用户独立保存。\n管理员可以定义全局默认的排序。\n\n## 为所有用户设置默认排序\n\n转到管理员设置>其他设置,然后拖动应用图标来排序。\n\n## 将第一个应用作为默认应用\n\n您可以轻松地让 Nextcloud 将您的用户重定向到他们的第一个应用程序\n通过更改 config / config.php 中的以下参数来实现:\n\n 'defaultapp' => 'apporder',\n\n用户现在将被重定向到默认排序下的第一个应用程序或\n用户排序的第一个应用程序。", | |||
"App Order" : "应用顺序", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "为所有用户设置默认顺序。 如果用户已设置自定义顺序,并且不强制使用默认顺序,则将忽略此设置。", | |||
"Drag the app icons to change their order." : "拖动应用图标以修改顺序", | |||
"Force the default order for all users:" : "对所有用户强制使用默认顺序:", | |||
"If enabled, users will not be able to set a custom order." : "如果启用,用户将无法设置自定义顺序。" | |||
},"pluralForm" :"nplurals=1; plural=0;" | |||
} |
@ -1,14 +0,0 @@ | |||
OC.L10N.register( | |||
"apporder", | |||
{ | |||
"App order" : "應用程式順序", | |||
"AppOrder" : "應用程式順序", | |||
"Sort apps in the menu with drag and drop" : "拖曳來調整選單中應用程式的順序", | |||
"Enable sorting the app icons from the personal settings. The order will be saved for each\nuser individually. Administrators can define a custom default order.\n\n## Set a default order for all new users\n\nGo to the Admin settings > Additional settings and drag the icons under App order.\n\n## Use first app as default app\n\nYou can easily let Nextcloud redirect your user to the first app in their\npersonal order by changing the following parameter in your config/config.php:\n\n 'defaultapp' => 'apporder',\n\nUsers will now get redirected to the first app of the default order or to the\nfirst app of the user order." : "允許使用者在個人設定當中調整應用程式圖示的順序,每個使用者可以獨立設定自己偏好的順序,管理員可以也設定預設的順序。\n\n## 為所有新使用者設定預設的順序\n\n前往「設定」>「其他設定」,然後拖曳「應用程式順序」下方的圖示\n\n## 使用第一個應用程式為預設應用程式\n\n您可以設定 Nextcloud 自動在登入時將使用者重導向至他們設定的順序中最前面的應用程式,您需要修改 config/config.php 中的參數如下:\n\n 'defaultapp' => 'apporder',\n\n設定完成之後使用者就會自動被重導向至他們設定的順序中最前面的應用程式。", | |||
"App Order" : "應用程式順序", | |||
"Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced." : "對所有使用者設定預設順序。如果使用者有設定自訂順序則會忽略,不強制使用預設順序。", | |||
"Drag the app icons to change their order." : "拖曳應用程式的圖示來更改順序", | |||
"Force the default order for all users:" : "強制讓所有使用者使用預設順序:", | |||
"If enabled, users will not be able to set a custom order." : "若開啟,使用者將無法設定自訂順序。" | |||
}, | |||
"nplurals=1; plural=0;"); |
@ -1,86 +0,0 @@ | |||
<?php | |||
/** | |||
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @author Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @license GNU AGPL version 3 or any later version | |||
* | |||
* This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU Affero General Public License as | |||
* published by the Free Software Foundation, either version 3 of the | |||
* License, or (at your option) any later version. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Affero General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU Affero General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
* | |||
*/ | |||
namespace OCA\AppOrder\Controller; | |||
use \OCP\AppFramework\Controller; | |||
use OCP\AppFramework\Http\RedirectResponse; | |||
use \OCP\IRequest; | |||
use \OCA\AppOrder\Service\ConfigService; | |||
use OCA\AppOrder\Util; | |||
use OCP\IURLGenerator; | |||
class AppController extends Controller { | |||
private $userId; | |||
private $urlGenerator; | |||
private $util; | |||
public function __construct($appName, | |||
IRequest $request, | |||
IURLGenerator $urlGenerator, | |||
Util $util, $userId) { | |||
parent::__construct($appName, $request); | |||
$this->userId = $userId; | |||
$this->urlGenerator = $urlGenerator; | |||
$this->util = $util; | |||
} | |||
/** | |||
* @NoCSRFRequired | |||
* @NoAdminRequired | |||
* @return RedirectResponse | |||
*/ | |||
public function index() { | |||
$order = json_decode($this->util->getAppOrder()); | |||
$hidden = json_decode($this->util->getAppHidden()); | |||
$firstPage = null; | |||
if ($order !== null && sizeof($order) > 0) { | |||
if($hidden !== null && sizeof($hidden) > 0){ | |||
foreach($order as $app){ | |||
if(!in_array($app,$hidden)){ | |||
$firstPage = $app; | |||
break; | |||
} | |||
} | |||
} | |||
else{ | |||
$firstPage = $order[0]; | |||
} | |||
} | |||
if($firstPage===null) { | |||
$appId = 'files'; | |||
if (getenv('front_controller_active') === 'true') { | |||
$firstPage = $this->urlGenerator->getAbsoluteURL('/apps/' . $appId . '/'); | |||
} else { | |||
$firstPage = $this->urlGenerator->getAbsoluteURL('/index.php/apps/' . $appId . '/'); | |||
} | |||
} | |||
return new RedirectResponse($firstPage); | |||
} | |||
} |
@ -1,181 +0,0 @@ | |||
<?php | |||
/** | |||
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @author Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @license GNU AGPL version 3 or any later version | |||
* | |||
* This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU Affero General Public License as | |||
* published by the Free Software Foundation, either version 3 of the | |||
* License, or (at your option) any later version. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Affero General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU Affero General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
* | |||
*/ | |||
namespace OCA\AppOrder\Controller; | |||
use \OCP\AppFramework\Controller; | |||
use \OCP\AppFramework\Http\TemplateResponse; | |||
use \OCP\IRequest; | |||
use \OCP\INavigationManager; | |||
use \OCA\AppOrder\Service\ConfigService; | |||
use \OCA\AppOrder\Util; | |||
class SettingsController extends Controller { | |||
private $userId; | |||
private $appConfig; | |||
private $navigationManager; | |||
private $util; | |||
public function __construct($appName, IRequest $request, ConfigService $appConfig, INavigationManager $urlGenerator, Util $util, $userId) { | |||
parent::__construct($appName, $request); | |||
$this->userId = $userId; | |||
$this->appConfig = $appConfig; | |||
$this->navigationManager = $urlGenerator; | |||
$this->util = $util; | |||
} | |||
/** | |||
* Admin: render admin page | |||
* FIXME: Move to dedicated class | |||
* | |||
* @return TemplateResponse | |||
*/ | |||
public function adminIndex() { | |||
// Private API call | |||
$navigation = $this->navigationManager->getAll(); | |||
$order = json_decode($this->appConfig->getAppValue('order')); | |||
if($order === null) $order = array(); | |||
$nav = $this->util->matchOrder($navigation, $order); | |||
$hidden = json_decode($this->appConfig->getAppValue('hidden')); | |||
if($hidden === null) $hidden = array(); | |||
$force = json_decode($this->appConfig->getAppValue('force')); | |||
if($force === null) $force = false; | |||
return new TemplateResponse( | |||
$this->appName, | |||
'admin', | |||
["nav" => $nav, 'type' => 'admin', 'hidden' => $hidden, 'force' => $force], | |||
'blank' | |||
); | |||
} | |||
public function personalIndex() { | |||
// Private API call | |||
$navigation = $this->navigationManager->getAll(); | |||
$order = json_decode($this->appConfig->getUserValue('order', $this->userId)); | |||
if($order === null){ | |||
$order = json_decode($this->appConfig->getAppValue('order')); | |||
if($order === null) $order = array(); | |||
} | |||
$nav = $this->util->matchOrder($navigation, $order); | |||
$hidden = json_decode($this->appConfig->getUserValue('hidden',$this->userId)); | |||
if($hidden === null){ | |||
$hidden = json_decode($this->appConfig->getAppValue('hidden')); | |||
if($hidden === null) $hidden = array(); | |||
} | |||
$force = json_decode($this->appConfig->getAppValue('force')); | |||
if($force === null) $force = false; | |||
return new TemplateResponse( | |||
$this->appName, | |||
'admin', | |||
["nav" => $nav, 'type' => 'personal', 'hidden' => $hidden, 'force' => $force], | |||
'blank' | |||
); | |||
} | |||
/** | |||
* Admin: save default order | |||
* | |||
* @param $order | |||
* @return array response | |||
*/ | |||
public function saveDefaultOrder($order) { | |||
if (!is_null($order)) { | |||
$this->appConfig->setAppValue('order', $order); | |||
} | |||
return array('status' => 'success', 'order' => $order); | |||
} | |||
/** | |||
* Return order for current user | |||
* | |||
* @NoAdminRequired | |||
* @return array response | |||
*/ | |||
public function getOrder() { | |||
$order = $this->util->getAppOrder(); | |||
$hidden = $this->util->getAppHidden(); | |||
return array('status' => 'success', 'order' => $order, 'hidden' => $hidden); | |||
} | |||
/** | |||
* Save order for current user | |||
* | |||
* @NoAdminRequired | |||
* @param $order string | |||
* @return array response | |||
*/ | |||
public function savePersonal($order) { | |||
$this->appConfig->setUserValue('order', $this->userId, $order); | |||
$response = array( | |||
'status' => 'success', | |||
'data' => array('message' => 'User order saved successfully.'), | |||
'order' => $order | |||
); | |||
return $response; | |||
} | |||
/** | |||
* Save hidden for current user | |||
* | |||
* @NoAdminRequired | |||
* @param $hidden string | |||
* @return array response | |||
*/ | |||
public function savePersonalHidden($hidden) { | |||
$this->appConfig->setUserValue('hidden', $this->userId, $hidden); | |||
$response = array( | |||
'status' => 'success', | |||
'data' => array('message' => 'User hidden saved successfully.'), | |||
'hidden' => $hidden | |||
); | |||
return $response; | |||
} | |||
/** | |||
* Admin: save default hidden | |||
* | |||
* @param $hidden | |||
* @return array response | |||
*/ | |||
public function saveDefaultHidden($hidden) { | |||
if (!is_null($hidden)) { | |||
$this->appConfig->setAppValue('hidden', $hidden); | |||
} | |||
return array('status' => 'success', 'hidden' => $hidden); | |||
} | |||
/** | |||
* Admin: save force value | |||
* | |||
* @param $force | |||
* @return array response | |||
*/ | |||
public function saveDefaultForce($force) { | |||
if (!is_null($force)) { | |||
$this->appConfig->setAppValue('force', $force); | |||
} | |||
return array('status' => 'success', 'force' => $force); | |||
} | |||
} |
@ -1,54 +0,0 @@ | |||
<?php | |||
/** | |||
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @author Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @license GNU AGPL version 3 or any later version | |||
* | |||
* This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU Affero General Public License as | |||
* published by the Free Software Foundation, either version 3 of the | |||
* License, or (at your option) any later version. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Affero General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU Affero General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
* | |||
*/ | |||
namespace OCA\AppOrder\Service; | |||
use \OCP\IConfig; | |||
class ConfigService { | |||
private $config; | |||
private $appName; | |||
public function __construct(IConfig $config, $appName) { | |||
$this->config = $config; | |||
$this->appName = $appName; | |||
} | |||
public function getAppValue($key) { | |||
return $this->config->getAppValue($this->appName, $key); | |||
} | |||
public function setAppValue($key, $value) { | |||
$this->config->setAppValue($this->appName, $key, $value); | |||
} | |||
public function getUserValue($key, $userId) { | |||
return $this->config->getUserValue($userId, $this->appName, $key); | |||
} | |||
public function setUserValue($key, $userId, $value) { | |||
$this->config->setUserValue($userId, $this->appName, $key, $value); | |||
} | |||
} |
@ -1,72 +0,0 @@ | |||
<?php | |||
/** | |||
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @author Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @license GNU AGPL version 3 or any later version | |||
* | |||
* This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU Affero General Public License as | |||
* published by the Free Software Foundation, either version 3 of the | |||
* License, or (at your option) any later version. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Affero General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU Affero General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
* | |||
*/ | |||
namespace OCA\AppOrder\Settings; | |||
use OCP\AppFramework\Http\TemplateResponse; | |||
use OCP\IConfig; | |||
use OCP\Settings\ISettings; | |||
class AdminSettings implements ISettings { | |||
/** @var IConfig */ | |||
private $config; | |||
/** @var \OC_Defaults */ | |||
private $defaults; | |||
public function __construct(IConfig $config, \OC_Defaults $defaults) { | |||
$this->config = $config; | |||
$this->defaults = $defaults; | |||
} | |||
/** | |||
* @return TemplateResponse returns the instance with all parameters set, ready to be rendered | |||
* @since 9.1 | |||
*/ | |||
public function getForm() { | |||
$response = \OC::$server->query(\OCA\AppOrder\Controller\SettingsController::class)->adminIndex(); | |||
return $response; | |||
} | |||
/** | |||
* @return string the section ID, e.g. 'sharing' | |||
* @since 9.1 | |||
*/ | |||
public function getSection() { | |||
return 'apporder'; | |||
} | |||
/** | |||
* @return int whether the form should be rather on the top or bottom of | |||
* the admin section. The forms are arranged in ascending order of the | |||
* priority values. It is required to return a value between 0 and 100. | |||
* | |||
* E.g.: 70 | |||
* @since 9.1 | |||
*/ | |||
public function getPriority() { | |||
return 90; | |||
} | |||
} |
@ -1,87 +0,0 @@ | |||
<?php | |||
/** | |||
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @author Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @license GNU AGPL version 3 or any later version | |||
* | |||
* This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU Affero General Public License as | |||
* published by the Free Software Foundation, either version 3 of the | |||
* License, or (at your option) any later version. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Affero General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU Affero General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
* | |||
*/ | |||
namespace OCA\AppOrder\Settings; | |||
use OCP\AppFramework\Http\TemplateResponse; | |||
use OCP\IConfig; | |||
use OCP\Settings\ISettings; | |||
class PersonalSettings implements ISettings { | |||
/** @var IConfig */ | |||
private $config; | |||
/** @var \OC_Defaults */ | |||
private $defaults; | |||
/** @var indicates admin-forced order */ | |||
private $force_admin_order; | |||
public function __construct(IConfig $config, $appName, \OC_Defaults $defaults) { | |||
$this->config = $config; | |||
$this->defaults = $defaults; | |||
$this->force_admin_order = json_decode($this->config->getAppValue($appName, 'force')) ?? false; | |||
} | |||
/** | |||
* @return TemplateResponse returns the instance with all parameters set, ready to be rendered | |||
* @since 9.1 | |||
*/ | |||
public function getForm() { | |||
if ($this->force_admin_order) { | |||
$response = null; | |||
} else { | |||
$response = \OC::$server->query(\OCA\AppOrder\Controller\SettingsController::class)->personalIndex(); | |||
} | |||
return $response; | |||
} | |||
/** | |||
* @return string the section ID, e.g. 'sharing' | |||
* @since 9.1 | |||
*/ | |||
public function getSection() { | |||
if ($this->force_admin_order) { | |||
return null; | |||
} else { | |||
return 'apporder'; | |||
} | |||
} | |||
/** | |||
* @return int whether the form should be rather on the top or bottom of | |||
* the admin section. The forms are arranged in ascending order of the | |||
* priority values. It is required to return a value between 0 and 100. | |||
* | |||
* E.g.: 70 | |||
* @since 9.1 | |||
*/ | |||
public function getPriority() { | |||
if ($this->force_admin_order) { | |||
return null; | |||
} else { | |||
return 90; | |||
} | |||
} | |||
} |
@ -1,90 +0,0 @@ | |||
<?php | |||
/** | |||
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @author Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @license GNU AGPL version 3 or any later version | |||
* | |||
* This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU Affero General Public License as | |||
* published by the Free Software Foundation, either version 3 of the | |||
* License, or (at your option) any later version. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Affero General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU Affero General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
* | |||
*/ | |||
namespace OCA\AppOrder\Settings; | |||
use OCP\IConfig; | |||
use OCP\IL10N; | |||
use OCP\IURLGenerator; | |||
use OCP\Settings\IIconSection; | |||
class Section implements IIconSection { | |||
private $config; | |||
private $defaults; | |||
private $urlGenerator; | |||
private $l10n; | |||
public function __construct(IConfig $config, \OC_Defaults $defaults, IURLGenerator $urlGenerator, IL10N $l10n) { | |||
$this->config = $config; | |||
$this->defaults = $defaults; | |||
$this->urlGenerator = $urlGenerator; | |||
$this->l10n = $l10n; | |||
} | |||
/** | |||
* returns the relative path to an 16*16 icon describing the section. | |||
* e.g. '/core/img/places/files.svg' | |||
* | |||
* @returns string | |||
* @since 12 | |||
*/ | |||
public function getIcon() { | |||
return $this->urlGenerator->imagePath('core', 'actions/settings-dark.svg'); | |||
} | |||
/** | |||
* returns the ID of the section. It is supposed to be a lower case string, | |||
* e.g. 'ldap' | |||
* | |||
* @returns string | |||
* @since 9.1 | |||
*/ | |||
public function getID() { | |||
return 'apporder'; | |||
} | |||
/** | |||
* returns the translated name as it should be displayed, e.g. 'LDAP / AD | |||
* integration'. Use the L10N service to translate it. | |||
* | |||
* @return string | |||
* @since 9.1 | |||
*/ | |||
public function getName() { | |||
return $this->l10n->t('App order'); | |||
} | |||
/** | |||
* @return int whether the form should be rather on the top or bottom of | |||
* the settings navigation. The sections are arranged in ascending order of | |||
* the priority values. It is required to return a value between 0 and 99. | |||
* | |||
* E.g.: 70 | |||
* @since 9.1 | |||
*/ | |||
public function getPriority() { | |||
return 90; | |||
} | |||
} |
@ -1,83 +0,0 @@ | |||
<?php | |||
/** | |||
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @author Julius Härtl <jus@bitgrid.net> | |||
* | |||
* @license GNU AGPL version 3 or any later version | |||
* | |||
* This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU Affero General Public License as | |||
* published by the Free Software Foundation, either version 3 of the | |||
* License, or (at your option) any later version. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Affero General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU Affero General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
* | |||
*/ | |||
namespace OCA\AppOrder; | |||
use OCA\AppOrder\Service\ConfigService; | |||
class Util { | |||
private $userId; | |||
private $appConfig; | |||
public function __construct(ConfigService $appConfig, $userId) { | |||
$this->userId = $userId; | |||
$this->appConfig = $appConfig; | |||
} | |||
public function getAppOrder() { | |||
$order_user = $this->appConfig->getUserValue('order', $this->userId); | |||
$order_default = $this->appConfig->getAppValue('order'); | |||
$forced_order = json_decode($this->appConfig->getAppValue('force')) ?? false; | |||
if ($order_user !== null && $order_user !== "" && !($forced_order)) { | |||
$order = $order_user; | |||
} else { | |||
$order = $order_default; | |||
} | |||
return $order; | |||
} | |||
public function matchOrder($nav, $order) { | |||
$nav_tmp = array(); | |||
$result = array(); | |||
foreach ($nav as $app) { | |||
$nav_tmp[$app['href']] = $app; | |||
} | |||
if(is_array($order)) { | |||
foreach ($order as $app) { | |||
if (array_key_exists($app, $nav_tmp)) { | |||
$result[$app] = $nav_tmp[$app]; | |||
} | |||
} | |||
} | |||
foreach ($nav as $app) { | |||
if (!array_key_exists($app['href'], $result)) { | |||
$result[$app['href']] = $app; | |||
} | |||
} | |||
return $result; | |||
} | |||
public function getAppHidden() { | |||
$hidden_user = $this->appConfig->getUserValue('hidden', $this->userId); | |||
$hidden_default = $this->appConfig->getAppValue('hidden'); | |||
$forced_order = json_decode($this->appConfig->getAppValue('force')) ?? false; | |||
if ($hidden_user !== null && $hidden_user !== "" && !($forced_order)) { | |||
$hidden = $hidden_user; | |||
} else { | |||
$hidden = $hidden_default; | |||
} | |||
return $hidden; | |||
} | |||
} |
@ -1,7 +0,0 @@ | |||
<phpunit bootstrap="tests/bootstrap.php" colors="true"> | |||
<testsuites> | |||
<testsuite name="integration"> | |||
<directory>./tests/integration</directory> | |||
</testsuite> | |||
</testsuites> | |||
</phpunit> |
@ -1,12 +0,0 @@ | |||
<phpunit bootstrap="tests/bootstrap.php" colors="true"> | |||
<testsuites> | |||
<testsuite name="unit"> | |||
<directory>./tests/unit</directory> | |||
</testsuite> | |||
</testsuites> | |||
<filter> | |||
<whitelist> | |||
<directory suffix=".php">./</directory> | |||
</whitelist> | |||
</filter> | |||
</phpunit> |
@ -1,21 +0,0 @@ | |||
<div class="section" id="apporder"> | |||
<h2><?php p($l->t('App Order')) ?></h2> | |||
<?php if($_['type'] === 'admin') { ?> | |||
<p><?php p($l->t('Set a default order for all users. This will be ignored, if the user has setup a custom order, and the default order is not forced.')); ?></p> | |||
<?php } ?> | |||
<p><em><?php p($l->t('Drag the app icons to change their order.')); ?></em></p> | |||
<ul id="appsorter" data-type="<?php p($_['type']); ?>"> | |||
<?php foreach($_['nav'] as $entry) { ?> | |||
<li> | |||
<input class="apporderhidden" type="checkbox" <?php if(!in_array($entry['href'],$_['hidden'])) {print_unescaped("checked");}?> > | |||
<img class="app-icon svg" alt="" src="<?php print_unescaped($entry['icon']); ?>"> | |||
<p data-url="<?php p($entry['href']); ?>"> | |||
<?php echo $entry['name']; ?> | |||
</p> | |||
</li> | |||
<?php } ?> | |||
</ul> | |||
<?php if($_['type'] === 'admin') { ?> | |||
<p id="appsorterforce"><?php p($l->t('Force the default order for all users:')); ?> <input type="checkbox" id="forcecheckbox" data-type="<?php p($_['type']); ?>" <?php if($_['force']) {print_unescaped("checked");}?> > (<?php p($l->t('If enabled, users will not be able to set a custom order.')); ?>)</p> | |||
<?php } ?> | |||
</div> |
@ -1,7 +0,0 @@ | |||
<!DOCTYPE html> | |||
<html> | |||
<head> | |||
<script> window.location.href="index.php"; </script> | |||
<meta http-equiv="refresh" content="0; URL=index.php"> | |||
</head> | |||
</html> |
@ -1,190 +0,0 @@ | |||
<?php | |||
declare(strict_types=1); | |||
/** | |||
* @copyright Copyright (c) 2016, ownCloud, Inc. | |||
* | |||
* @author Andreas Fischer <bantu@owncloud.com> | |||
* @author Arthur Schiwon <blizzz@arthur-schiwon.de> | |||
* @author Christoph Wurst <christoph@winzerhof-wurst.at> | |||
* @author Georg Ehrke <oc.list@georgehrke.com> | |||
* @author Joas Schilling <coding@schilljs.com> | |||
* @author Lukas Reschke <lukas@statuscode.ch> | |||
* @author Markus Goetz <markus@woboq.com> | |||
* @author Morris Jobke <hey@morrisjobke.de> | |||
* @author Robin Appelman <robin@icewind.nl> | |||
* @author Robin McCorkell <robin@mccorkell.me.uk> | |||
* @author Roeland Jago Douma <roeland@famdouma.nl> | |||
* @author Vincent Petry <pvince81@owncloud.com> | |||
* | |||
* @license AGPL-3.0 | |||
* | |||
* This code is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU Affero General Public License, version 3, | |||
* as published by the Free Software Foundation. | |||
* | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Affero General Public License for more details. | |||
* | |||
* You should have received a copy of the GNU Affero General Public License, version 3, | |||
* along with this program. If not, see <http://www.gnu.org/licenses/> | |||
* | |||
*/ | |||
namespace OC; | |||
use \OCP\AutoloadNotAllowedException; | |||
use OCP\ILogger; | |||
class Autoloader { | |||
/** @var bool */ | |||
private $useGlobalClassPath = true; | |||
/** @var array */ | |||
private $validRoots = []; | |||
/** | |||
* Optional low-latency memory cache for class to path mapping. | |||
* | |||
* @var \OC\Memcache\Cache | |||
*/ | |||
protected $memoryCache; | |||
/** | |||
* Autoloader constructor. | |||
* | |||
* @param string[] $validRoots | |||
*/ | |||
public function __construct(array $validRoots) { | |||
foreach ($validRoots as $root) { | |||
$this->validRoots[$root] = true; | |||
} | |||
} | |||
/** | |||
* Add a path to the list of valid php roots for auto loading | |||
* | |||
* @param string $root | |||
*/ | |||
public function addValidRoot(string $root) { | |||
$root = stream_resolve_include_path($root); | |||
$this->validRoots[$root] = true; | |||
} | |||
/** | |||
* disable the usage of the global classpath \OC::$CLASSPATH | |||
*/ | |||
public function disableGlobalClassPath() { | |||
$this->useGlobalClassPath = false; | |||
} | |||
/** | |||
* enable the usage of the global classpath \OC::$CLASSPATH | |||
*/ | |||
public function enableGlobalClassPath() { | |||
$this->useGlobalClassPath = true; | |||
} | |||
/** | |||
* get the possible paths for a class | |||
* | |||
* @param string $class | |||
* @return array an array of possible paths | |||
*/ | |||
public function findClass(string $class): array { | |||
$class = trim($class, '\\'); | |||
$paths = []; | |||
if ($this->useGlobalClassPath && array_key_exists($class, \OC::$CLASSPATH)) { | |||
$paths[] = \OC::$CLASSPATH[$class]; | |||
/** | |||
* @TODO: Remove this when necessary | |||
* Remove "apps/" from inclusion path for smooth migration to multi app dir | |||
*/ | |||
if (strpos(\OC::$CLASSPATH[$class], 'apps/') === 0) { | |||
\OCP\Util::writeLog('core', 'include path for class "' . $class . '" starts with "apps/"', ILogger::DEBUG); | |||
$paths[] = str_replace('apps/', '', \OC::$CLASSPATH[$class]); | |||
} | |||
} elseif (strpos($class, 'OC_') === 0) { | |||
$paths[] = \OC::$SERVERROOT . '/lib/private/legacy/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php'); | |||
} elseif (strpos($class, 'OCA\\') === 0) { | |||
list(, $app, $rest) = explode('\\', $class, 3); | |||
$app = strtolower($app); | |||
$appPath = \OC_App::getAppPath($app); | |||
if ($appPath && stream_resolve_include_path($appPath)) { | |||
$paths[] = $appPath . '/' . strtolower(str_replace('\\', '/', $rest) . '.php'); | |||
// If not found in the root of the app directory, insert '/lib' after app id and try again. | |||
$paths[] = $appPath . '/lib/' . strtolower(str_replace('\\', '/', $rest) . '.php'); | |||
} | |||
} elseif ($class === 'Test\\TestCase') { | |||
// This File is considered public API, so we make sure that the class | |||
// can still be loaded, although the PSR-4 paths have not been loaded. | |||
$paths[] = \OC::$SERVERROOT . '/tests/lib/TestCase.php'; | |||
} | |||
return $paths; | |||
} | |||
/** | |||
* @param string $fullPath | |||
* @return bool | |||
* @throws AutoloadNotAllowedException | |||
*/ | |||
protected function isValidPath(string $fullPath): bool { | |||
foreach ($this->validRoots as $root => $true) { | |||
if (substr($fullPath, 0, strlen($root) + 1) === $root . '/') { | |||
return true; | |||
} | |||
} | |||
throw new AutoloadNotAllowedException($fullPath); | |||
} | |||
/** | |||
* Load the specified class | |||
* | |||
* @param string $class | |||
* @return bool | |||
* @throws AutoloadNotAllowedException | |||
*/ | |||
public function load(string $class): bool { | |||
$pathsToRequire = null; | |||
if ($this->memoryCache) { | |||
$pathsToRequire = $this->memoryCache->get($class); | |||
} | |||
if (class_exists($class, false)) { | |||
return false; | |||
} | |||
if (!is_array($pathsToRequire)) { | |||
// No cache or cache miss | |||
$pathsToRequire = []; | |||
foreach ($this->findClass($class) as $path) { | |||
$fullPath = stream_resolve_include_path($path); | |||
if ($fullPath && $this->isValidPath($fullPath)) { | |||
$pathsToRequire[] = $fullPath; | |||
} | |||
} | |||
if ($this->memoryCache) { | |||
$this->memoryCache->set($class, $pathsToRequire, 60); // cache 60 sec | |||
} | |||
} | |||
foreach ($pathsToRequire as $fullPath) { | |||
require_once $fullPath; | |||
} | |||
return false; | |||
} | |||
/** | |||
* Sets the optional low-latency cache for class to path mapping. | |||
* | |||
* @param \OC\Memcache\Cache $memoryCache Instance of memory cache. | |||
*/ | |||
public function setMemoryCache(\OC\Memcache\Cache $memoryCache = null) { | |||
$this->memoryCache = $memoryCache; | |||
} | |||
} |
@ -1,7 +0,0 @@ | |||
<?php | |||
// autoload.php @generated by Composer | |||
require_once __DIR__ . '/composer/autoload_real.php'; | |||
return ComposerAutoloaderInit53792487c5a8370acc0b06b1a864ff4c::getLoader(); |
@ -1,445 +0,0 @@ | |||
<?php | |||
/* | |||
* This file is part of Composer. | |||
* | |||
* (c) Nils Adermann <naderman@naderman.de> | |||
* Jordi Boggiano <j.boggiano@seld.be> | |||
* | |||
* For the full copyright and license information, please view the LICENSE | |||
* file that was distributed with this source code. | |||
*/ | |||
namespace Composer\Autoload; | |||
/** | |||
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader. | |||
* | |||
* $loader = new \Composer\Autoload\ClassLoader(); | |||
* | |||
* // register classes with namespaces | |||
* $loader->add('Symfony\Component', __DIR__.'/component'); | |||
* $loader->add('Symfony', __DIR__.'/framework'); | |||
* | |||
* // activate the autoloader | |||
* $loader->register(); | |||
* | |||
* // to enable searching the include path (eg. for PEAR packages) | |||
* $loader->setUseIncludePath(true); | |||
* | |||
* In this example, if you try to use a class in the Symfony\Component | |||
* namespace or one of its children (Symfony\Component\Console for instance), | |||
* the autoloader will first look for the class under the component/ | |||
* directory, and it will then fallback to the framework/ directory if not | |||
* found before giving up. | |||
* | |||
* This class is loosely based on the Symfony UniversalClassLoader. | |||
* | |||
* @author Fabien Potencier <fabien@symfony.com> | |||
* @author Jordi Boggiano <j.boggiano@seld.be> | |||
* @see http://www.php-fig.org/psr/psr-0/ | |||
* @see http://www.php-fig.org/psr/psr-4/ | |||
*/ | |||
class ClassLoader | |||
{ | |||
// PSR-4 | |||
private $prefixLengthsPsr4 = array(); | |||
private $prefixDirsPsr4 = array(); | |||
private $fallbackDirsPsr4 = array(); | |||
// PSR-0 | |||
private $prefixesPsr0 = array(); | |||
private $fallbackDirsPsr0 = array(); | |||
private $useIncludePath = false; | |||
private $classMap = array(); | |||
private $classMapAuthoritative = false; | |||
private $missingClasses = array(); | |||
private $apcuPrefix; | |||
public function getPrefixes() | |||
{ | |||
if (!empty($this->prefixesPsr0)) { | |||
return call_user_func_array('array_merge', $this->prefixesPsr0); | |||
} | |||
return array(); | |||
} | |||
public function getPrefixesPsr4() | |||
{ | |||
return $this->prefixDirsPsr4; | |||
} | |||
public function getFallbackDirs() | |||
{ | |||
return $this->fallbackDirsPsr0; | |||
} | |||
public function getFallbackDirsPsr4() | |||
{ | |||
return $this->fallbackDirsPsr4; | |||
} | |||
public function getClassMap() | |||
{ | |||
return $this->classMap; | |||
} | |||
/** | |||
* @param array $classMap Class to filename map | |||
*/ | |||
public function addClassMap(array $classMap) | |||
{ | |||
if ($this->classMap) { | |||
$this->classMap = array_merge($this->classMap, $classMap); | |||
} else { | |||
$this->classMap = $classMap; | |||
} | |||
} | |||
/** | |||
* Registers a set of PSR-0 directories for a given prefix, either | |||
* appending or prepending to the ones previously set for this prefix. | |||
* | |||
* @param string $prefix The prefix | |||
* @param array|string $paths The PSR-0 root directories | |||
* @param bool $prepend Whether to prepend the directories | |||
*/ | |||
public function add($prefix, $paths, $prepend = false) | |||
{ | |||
if (!$prefix) { | |||
if ($prepend) { | |||
$this->fallbackDirsPsr0 = array_merge( | |||
(array) $paths, | |||
$this->fallbackDirsPsr0 | |||
); | |||
} else { | |||
$this->fallbackDirsPsr0 = array_merge( | |||
$this->fallbackDirsPsr0, | |||
(array) $paths | |||
); | |||
} | |||
return; | |||
} | |||
$first = $prefix[0]; | |||
if (!isset($this->prefixesPsr0[$first][$prefix])) { | |||
$this->prefixesPsr0[$first][$prefix] = (array) $paths; | |||
return; | |||
} | |||
if ($prepend) { | |||
$this->prefixesPsr0[$first][$prefix] = array_merge( | |||
(array) $paths, | |||
$this->prefixesPsr0[$first][$prefix] | |||
); | |||
} else { | |||
$this->prefixesPsr0[$first][$prefix] = array_merge( | |||
$this->prefixesPsr0[$first][$prefix], | |||
(array) $paths | |||
); | |||
} | |||
} | |||
/** | |||
* Registers a set of PSR-4 directories for a given namespace, either | |||
* appending or prepending to the ones previously set for this namespace. | |||
* | |||
* @param string $prefix The prefix/namespace, with trailing '\\' | |||
* @param array|string $paths The PSR-4 base directories | |||
* @param bool $prepend Whether to prepend the directories | |||
* | |||
* @throws \InvalidArgumentException | |||
*/ | |||
public function addPsr4($prefix, $paths, $prepend = false) | |||
{ | |||
if (!$prefix) { | |||
// Register directories for the root namespace. | |||
if ($prepend) { | |||
$this->fallbackDirsPsr4 = array_merge( | |||
(array) $paths, | |||
$this->fallbackDirsPsr4 | |||
); | |||
} else { | |||
$this->fallbackDirsPsr4 = array_merge( | |||
$this->fallbackDirsPsr4, | |||
(array) $paths | |||
); | |||
} | |||
} elseif (!isset($this->prefixDirsPsr4[$prefix])) { | |||
// Register directories for a new namespace. | |||
$length = strlen($prefix); | |||
if ('\\' !== $prefix[$length - 1]) { | |||
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); | |||
} | |||
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; | |||
$this->prefixDirsPsr4[$prefix] = (array) $paths; | |||
} elseif ($prepend) { | |||
// Prepend directories for an already registered namespace. | |||
$this->prefixDirsPsr4[$prefix] = array_merge( | |||
(array) $paths, | |||
$this->prefixDirsPsr4[$prefix] | |||
); | |||
} else { | |||
// Append directories for an already registered namespace. | |||
$this->prefixDirsPsr4[$prefix] = array_merge( | |||
$this->prefixDirsPsr4[$prefix], | |||
(array) $paths | |||
); | |||
} | |||
} | |||
/** | |||
* Registers a set of PSR-0 directories for a given prefix, | |||
* replacing any others previously set for this prefix. | |||
* | |||
* @param string $prefix The prefix | |||
* @param array|string $paths The PSR-0 base directories | |||
*/ | |||
public function set($prefix, $paths) | |||
{ | |||
if (!$prefix) { | |||
$this->fallbackDirsPsr0 = (array) $paths; | |||
} else { | |||
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; | |||
} | |||
} | |||
/** | |||
* Registers a set of PSR-4 directories for a given namespace, | |||
* replacing any others previously set for this namespace. | |||
* | |||
* @param string $prefix The prefix/namespace, with trailing '\\' | |||
* @param array|string $paths The PSR-4 base directories | |||
* | |||
* @throws \InvalidArgumentException | |||
*/ | |||
public function setPsr4($prefix, $paths) | |||
{ | |||
if (!$prefix) { | |||
$this->fallbackDirsPsr4 = (array) $paths; | |||
} else { | |||
$length = strlen($prefix); | |||
if ('\\' !== $prefix[$length - 1]) { | |||
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); | |||
} | |||
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; | |||
$this->prefixDirsPsr4[$prefix] = (array) $paths; | |||
} | |||
} | |||
/** | |||
* Turns on searching the include path for class files. | |||
* | |||
* @param bool $useIncludePath | |||
*/ | |||
public function setUseIncludePath($useIncludePath) | |||
{ | |||
$this->useIncludePath = $useIncludePath; | |||
} | |||
/** | |||
* Can be used to check if the autoloader uses the include path to check | |||
* for classes. | |||
* | |||
* @return bool | |||
*/ | |||
public function getUseIncludePath() | |||
{ | |||
return $this->useIncludePath; | |||
} | |||
/** | |||
* Turns off searching the prefix and fallback directories for classes | |||
* that have not been registered with the class map. | |||
* | |||
* @param bool $classMapAuthoritative | |||
*/ | |||
public function setClassMapAuthoritative($classMapAuthoritative) | |||
{ | |||
$this->classMapAuthoritative = $classMapAuthoritative; | |||
} | |||
/** | |||
* Should class lookup fail if not found in the current class map? | |||
* | |||
* @return bool | |||
*/ | |||
public function isClassMapAuthoritative() | |||
{ | |||
return $this->classMapAuthoritative; | |||
} | |||
/** | |||
* APCu prefix to use to cache found/not-found classes, if the extension is enabled. | |||
* | |||
* @param string|null $apcuPrefix | |||
*/ | |||
public function setApcuPrefix($apcuPrefix) | |||
{ | |||
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; | |||
} | |||
/** | |||
* The APCu prefix in use, or null if APCu caching is not enabled. | |||
* | |||
* @return string|null | |||
*/ | |||
public function getApcuPrefix() | |||
{ | |||
return $this->apcuPrefix; | |||
} | |||
/** | |||
* Registers this instance as an autoloader. | |||
* | |||
* @param bool $prepend Whether to prepend the autoloader or not | |||
*/ | |||
public function register($prepend = false) | |||
{ | |||
spl_autoload_register(array($this, 'loadClass'), true, $prepend); | |||
} | |||
/** | |||
* Unregisters this instance as an autoloader. | |||
*/ | |||
public function unregister() | |||
{ | |||
spl_autoload_unregister(array($this, 'loadClass')); | |||
} | |||
/** | |||
* Loads the given class or interface. | |||
* | |||
* @param string $class The name of the class | |||
* @return bool|null True if loaded, null otherwise | |||
*/ | |||
public function loadClass($class) | |||
{ | |||
if ($file = $this->findFile($class)) { | |||
includeFile($file); | |||
return true; | |||
} | |||
} | |||
/** | |||
* Finds the path to the file where the class is defined. | |||
* | |||
* @param string $class The name of the class | |||
* | |||
* @return string|false The path if found, false otherwise | |||
*/ | |||
public function findFile($class) | |||
{ | |||
// class map lookup | |||
if (isset($this->classMap[$class])) { | |||
return $this->classMap[$class]; | |||
} | |||
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { | |||
return false; | |||
} | |||
if (null !== $this->apcuPrefix) { | |||
$file = apcu_fetch($this->apcuPrefix.$class, $hit); | |||
if ($hit) { | |||
return $file; | |||
} | |||
} | |||
$file = $this->findFileWithExtension($class, '.php'); | |||
// Search for Hack files if we are running on HHVM | |||
if (false === $file && defined('HHVM_VERSION')) { | |||
$file = $this->findFileWithExtension($class, '.hh'); | |||
} | |||
if (null !== $this->apcuPrefix) { | |||
apcu_add($this->apcuPrefix.$class, $file); | |||
} | |||
if (false === $file) { | |||
// Remember that this class does not exist. | |||
$this->missingClasses[$class] = true; | |||
} | |||
return $file; | |||
} | |||
private function findFileWithExtension($class, $ext) | |||
{ | |||
// PSR-4 lookup | |||
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; | |||
$first = $class[0]; | |||
if (isset($this->prefixLengthsPsr4[$first])) { | |||
$subPath = $class; | |||
while (false !== $lastPos = strrpos($subPath, '\\')) { | |||
$subPath = substr($subPath, 0, $lastPos); | |||
$search = $subPath . '\\'; | |||
if (isset($this->prefixDirsPsr4[$search])) { | |||
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); | |||
foreach ($this->prefixDirsPsr4[$search] as $dir) { | |||
if (file_exists($file = $dir . $pathEnd)) { | |||
return $file; | |||
} | |||
} | |||
} | |||
} | |||
} | |||
// PSR-4 fallback dirs | |||
foreach ($this->fallbackDirsPsr4 as $dir) { | |||
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { | |||
return $file; | |||
} | |||
} | |||
// PSR-0 lookup | |||
if (false !== $pos = strrpos($class, '\\')) { | |||
// namespaced class name | |||
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) | |||
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); | |||
} else { | |||
// PEAR-like class name | |||
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; | |||
} | |||
if (isset($this->prefixesPsr0[$first])) { | |||
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { | |||
if (0 === strpos($class, $prefix)) { | |||
foreach ($dirs as $dir) { | |||
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { | |||
return $file; | |||
} | |||
} | |||
} | |||
} | |||
} | |||
// PSR-0 fallback dirs | |||
foreach ($this->fallbackDirsPsr0 as $dir) { | |||
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { | |||
return $file; | |||
} | |||
} | |||
// PSR-0 include paths. | |||
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { | |||
return $file; | |||
} | |||
return false; | |||
} | |||
} | |||
/** | |||
* Scope isolated include. | |||
* | |||
* Prevents access to $this/self from included files. | |||
*/ | |||
function includeFile($file) | |||
{ | |||
include $file; | |||
} |
@ -1,21 +0,0 @@ | |||
Copyright (c) Nils Adermann, Jordi Boggiano | |||
Permission is hereby granted, free of charge, to any person obtaining a copy | |||
of this software and associated documentation files (the "Software"), to deal | |||
in the Software without restriction, including without limitation the rights | |||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |||
copies of the Software, and to permit persons to whom the Software is furnished | |||
to do so, subject to the following conditions: | |||
The above copyright notice and this permission notice shall be included in all | |||
copies or substantial portions of the Software. | |||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |||
THE SOFTWARE. | |||