Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix #1128 : add the ability to reject a previously accepted share.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Apr 6, 2016
1 parent d0521d0 commit fe99a69
Show file tree
Hide file tree
Showing 32 changed files with 153 additions and 41 deletions.
6 changes: 6 additions & 0 deletions core/src/plugins/access.ajxp_home/res/home.css
Expand Up @@ -131,6 +131,12 @@
white-space: nowrap;
text-overflow: ellipsis;
}
#home_account_pane #home_left_bar #workspaces_center .workspaces .workspace-entry .workspace-additional-action {
float: right;
margin-top: -40px;
padding: 12px;
border-radius: 50%;
}
#home_account_pane #home_left_bar #workspaces_center .workspaces .workspace-entry.ws_selector_title h3 {
font-size: 13px;
font-weight: 500;
Expand Down
7 changes: 7 additions & 0 deletions core/src/plugins/access.ajxp_home/res/home.less
Expand Up @@ -136,6 +136,13 @@
text-overflow: ellipsis;
}

.workspace-additional-action {
float: right;
margin-top: -40px;
padding: 12px;
border-radius: 50%;
}

&.ws_selector_title{
h3{
font-size: 13px;
Expand Down
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/ca.php
Expand Up @@ -643,5 +643,8 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/cs.php
Expand Up @@ -641,5 +641,8 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/da.php
Expand Up @@ -644,6 +644,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/de.php
Expand Up @@ -648,5 +648,8 @@
"545" => "Freigabe von entferntem System",
"546" => "Dieses Element wurde von %%OWNER%% für Sie von einem entfernten System freigegeben. Möchten sie fortfahren?",
"547" => "Akzeptieren",
"548" => "Ablehnen"
"548" => "Ablehnen",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
);
7 changes: 5 additions & 2 deletions core/src/plugins/core.ajaxplorer/i18n/en.php
Expand Up @@ -638,8 +638,11 @@
"542" => "Upload error: a PHP extension stopped the upload process.",
"543" => "Results limited to 100 out of %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"545" => "Remote Share",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/es.php
Expand Up @@ -646,5 +646,8 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/et.php
Expand Up @@ -642,6 +642,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/eus.php
Expand Up @@ -640,6 +640,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/fi.php
Expand Up @@ -642,6 +642,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
7 changes: 5 additions & 2 deletions core/src/plugins/core.ajaxplorer/i18n/fr.php
Expand Up @@ -639,8 +639,11 @@
"543" => "Résultats limités au 100 premiers sur %s.",
"544" => "Voir tout",
"545" => "Partage à distance",
"546" => "Cet item provient de %%OWNER%% d'un système distant. Souhaîtez-vous continuer ?",
"546" => "Ce partage provient de %%OWNER%% d'un système distant. Souhaîtez-vous continuer ?",
"547" => "Accepter",
"548" => "Refuser"
"548" => "Refuser",
"549" => "Vaous avez précedemment accepté ce partage depuis un système distant (par %%OWNER%%). Désirez-vous le rejeter désormais?",
"550" => "Rejeter ce partage",
"551" => "Rejeter",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/gr.php
Expand Up @@ -639,6 +639,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/he.php
Expand Up @@ -639,6 +639,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/hu.php
Expand Up @@ -644,6 +644,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/it.php
Expand Up @@ -659,6 +659,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/kr.php
Expand Up @@ -648,6 +648,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/nl.php
Expand Up @@ -645,6 +645,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/no.php
Expand Up @@ -643,6 +643,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/pl.php
Expand Up @@ -639,6 +639,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/pt-br.php
Expand Up @@ -643,6 +643,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/pt.php
Expand Up @@ -639,7 +639,10 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
/* password strength tester */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/ru.php
Expand Up @@ -641,5 +641,8 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/si.php
Expand Up @@ -640,6 +640,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/sv.php
Expand Up @@ -639,6 +639,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/tr.php
Expand Up @@ -642,6 +642,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/zh-tw.php
Expand Up @@ -642,6 +642,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);
5 changes: 4 additions & 1 deletion core/src/plugins/core.ajaxplorer/i18n/zh.php
Expand Up @@ -651,6 +651,9 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline"
"548" => "Decline",
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
/* END SENTENCE */
);

0 comments on commit fe99a69

Please sign in to comment.